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 and concurrency limits.
  • a safer gather implementation, with concurrency limits.

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-26.1.0.tar.gz (323.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quattro-26.1.0-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for quattro-26.1.0.tar.gz
Algorithm Hash digest
SHA256 351ba3d2c21b820d22ca24e3d05acfdd94fb442d89e7171418384df69ad2ebf9
MD5 a3e0500f29008f6dbe6acbf904e123af
BLAKE2b-256 bb7c1caa9ff38cd356deeb639fcaed982bd452ed23cf08f60d44035f3711fc75

See more details on using hashes here.

Provenance

The following attestation bundles were made for quattro-26.1.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-26.1.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for quattro-26.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 76bf9fb5684947a369d3d80acab19bd63cd95f36bdb8730aae79c94942246145
MD5 404a2585b22010e7f50bd3018087cde6
BLAKE2b-256 7899309250579dba165efeccd53bbeea14d3c91f43d898d209fa4670a3c16631

See more details on using hashes here.

Provenance

The following attestation bundles were made for quattro-26.1.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 Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page