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

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for hawaiio-0.0.3.tar.gz
Algorithm Hash digest
SHA256 325588239da391a809345768a053784fc630a73d9c0883c8f1a409e248aec569
MD5 2567151c1b9c08c11d2bc00a131dc3ff
BLAKE2b-256 7f9e4caf0c6db98fb6fcd8b0dcfb0b87a0b25e8f9a17f68e233fcd08aea0a94d

See more details on using hashes here.

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

Hashes for hawaiio-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b8dc8448ed82b7447980ee9b7b904ad7f87c055c8579e3d01ea62b0496041550
MD5 5814dba9296c2686f81ac391ed9695fd
BLAKE2b-256 527a07351dc967fe966de7c9971cb364c248e2df5777f92522c8a8230a9bc49b

See more details on using hashes here.

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