Skip to main content

No project description provided

Project description

quattro: Four-wheel drive for asyncio.

Documentation License: Apache2 PyPI Build Supported Python versions Coverage


quattro is a collection of small and powerful components for advanced task control in asyncio applications.

Using quattro gives you:

  • elegant context managers for deadlines and cancellation: fail_after, fail_at, move_on_after and move_on_at.
  • a Deferrer class and defer function to help with indentation and resource cleanup, like in Go.
  • a TaskGroup subclass with support for background tasks.
  • a safer gather implementation.

quattro is influenced by structured concurrency concepts from the Trio framework.

Project Information

License

quattro is written by Tin Tvrtković and distributed under the terms of the Apache-2.0 license.

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

quattro-25.2.0.tar.gz (319.8 kB view details)

Uploaded Source

Built Distribution

quattro-25.2.0-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file quattro-25.2.0.tar.gz.

File metadata

  • Download URL: quattro-25.2.0.tar.gz
  • Upload date:
  • Size: 319.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for quattro-25.2.0.tar.gz
Algorithm Hash digest
SHA256 7a57879b71cad96fa9fd4ff9845f927b6648d59f084896ea9e1752f16fe3ffe6
MD5 d1badd8f0beda96998040b59bd822933
BLAKE2b-256 499309227be09c2b6f3e04a70f13ddacfc0e1c59cc47b8db3280ed7b6cb67350

See more details on using hashes here.

Provenance

The following attestation bundles were made for quattro-25.2.0.tar.gz:

Publisher: pypi-package.yml on Tinche/quattro

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file quattro-25.2.0-py3-none-any.whl.

File metadata

  • Download URL: quattro-25.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for quattro-25.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 01c56b9a0d36b8cd0cc2a977f307ca655872de87d0552a535115b4680afa3f3b
MD5 a47faccc09dbb2961e1b827ac0d8cf75
BLAKE2b-256 e5251d98f7805cde877458e0c01d8f1748378cac7628fcd65e6dc12a6866c2eb

See more details on using hashes here.

Provenance

The following attestation bundles were made for quattro-25.2.0-py3-none-any.whl:

Publisher: pypi-package.yml on Tinche/quattro

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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