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 details)
Built Distribution
File details
Details for the file hawaiio-0.0.2.tar.gz
.
File metadata
- Download URL: hawaiio-0.0.2.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e701848c70176f2d64b58cca1a40e41d95d23e5f05253a650dffaf638c5b922d |
|
MD5 | aeeab1fdc0dd177bae59fe49727fe2ca |
|
BLAKE2b-256 | b6b32bb30caba788407dddcf5443a842edd3e8c017bf205e05af845faee8acd3 |
File details
Details for the file hawaiio-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: hawaiio-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23cf919aec0dcda08890bab0bf80b1c2691a64c24262f1a45432fbb78846ad23 |
|
MD5 | a431de6b324015e2fcb3f02a89ee2851 |
|
BLAKE2b-256 | 77cd7aa9b8fe49fba784dda65fe864e743e5c1d9a2ace62ae53e65bfda4cb392 |