hawaiio的Python项目详细描述
夏威夷
hawaiio是一个用于并发python程序的构建块的实验库。它依赖于async/await语法,仅此而已。不知羞耻地结合了trio和curio的思想。
安装
pip install hawaiio
用法
importhawaiioasyncdefgreet(name:str):awaithawaiio.sleep(1)returnf"Hello, {name}"message=hawaiio.run(greet("world"))print(message)# 'Hello, world'
更改日志
见CHANGELOG.md。
贡献
见Contributing guidelines。
许可证
麻省理工学院
欢迎加入QQ群-->: 979659372
推荐PyPI第三方库