Skip to content

Tinche/quattro

Repository files navigation

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.