semvec/pypi-packages huggingface dataset:
hawaiio 0.0.3
A library of shiny concurrency building blocks for Python
License: MIT
Requires Python: >=3.6

# hawaiio

[![build status](https://travis-ci.com/florimondmanca/hawaiio.svg?branch=master)](https://travis-ci.com/florimondmanca/hawaiio)
[![codecov](https://codecov.io/gh/florimondmanca/hawaiio/branch/master/graph/badge.svg)](https://codecov.io/gh/florimondmanca/hawaiio)
[![code style](https://img.shields.io/badge/code_style-black-black)](https://github.com/psf/black)
![license](https://img.shields.io/badge/license-MIT-green)

**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](https://github.com/python-trio/trio) and [curio](https://github.com/dabeaz/curio).

## Installation

```bash
pip install hawaiio
```

## Usage

```python
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](https://github.com/florimondmanca/hawaiio/tree/master/CHANGELOG.md).

## Contributing

See [Contributing guidelines](https://github.com/florimondmanca/hawaiio/tree/master/CONTRIBUTING.md).

## License

MIT