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.3.tar.gz
(2.9 kB
view details)
Built Distribution
File details
Details for the file hawaiio-0.0.3.tar.gz
.
File metadata
- Download URL: hawaiio-0.0.3.tar.gz
- Upload date:
- Size: 2.9 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 | 325588239da391a809345768a053784fc630a73d9c0883c8f1a409e248aec569 |
|
MD5 | 2567151c1b9c08c11d2bc00a131dc3ff |
|
BLAKE2b-256 | 7f9e4caf0c6db98fb6fcd8b0dcfb0b87a0b25e8f9a17f68e233fcd08aea0a94d |
File details
Details for the file hawaiio-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: hawaiio-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.4 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 | b8dc8448ed82b7447980ee9b7b904ad7f87c055c8579e3d01ea62b0496041550 |
|
MD5 | 5814dba9296c2686f81ac391ed9695fd |
|
BLAKE2b-256 | 527a07351dc967fe966de7c9971cb364c248e2df5777f92522c8a8230a9bc49b |