A library of shiny concurrency building blocks for Python
Project description
hawaiio
hawaiio is an experimental library of building blocks for concurrent Python programs. It relies on the async/await syntax, and nothing more. Shamelessly combines ideas from trio and curio.
Installation
pip install hawaiio
Usage
import hawaiio
async def greet(name: str):
await hawaiio.sleep(1)
return f"Hello, {name}"
message = hawaiio.run(greet("world"))
print(message) # 'Hello, world'
Changelog
See CHANGELOG.md.
Contributing
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hawaiio-0.0.2.tar.gz
(2.8 kB
view hashes)