Skip to main content

A library of shiny concurrency building blocks for Python

Project description

hawaiio

build status codecov code style license

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

See Contributing guidelines.

License

MIT

Project details


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 hashes)

Uploaded Source

Built Distribution

hawaiio-0.0.3-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page