Skip to main content

The missing async toolbox

Project description

Documentation Status Available on PyPI Available on Conda-Forge License Development Chat

The asyncstdlib library re-implements functions and classes of the Python standard library to make them compatible with async callables, iterables and context managers. It is fully agnostic to async event loops and seamlessly works with asyncio, third-party libraries such as trio, as well as any custom async event loop.

  • Full set of async versions of advantageous standard library helpers, such as zip, map, enumerate, functools.reduce, itertools.tee, itertools.groupby and many others.
  • Safe handling of async iterators to ensure prompt cleanup, as well as various helpers to simplify safely using custom async iterators.
  • Small but powerful toolset to seamlessly integrate existing sync code into async programs and libraries.

Check out the documentation to get started or take a look around.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for asyncstdlib, version 3.10.1
Filename, size File type Python version Upload date Hashes
Filename, size asyncstdlib-3.10.1-py2.py3-none-any.whl (30.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size asyncstdlib-3.10.1.tar.gz (46.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page