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.

Source Distribution

asyncstdlib-3.12.5.tar.gz (49.1 kB view details)

Uploaded Source

Built Distribution

asyncstdlib-3.12.5-py3-none-any.whl (43.8 kB view details)

Uploaded Python 3

File details

Details for the file asyncstdlib-3.12.5.tar.gz.

File metadata

  • Download URL: asyncstdlib-3.12.5.tar.gz
  • Upload date:
  • Size: 49.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for asyncstdlib-3.12.5.tar.gz
Algorithm Hash digest
SHA256 7eb0025f6acb59e46743458570712fe9700dcc7b370b6929daf07bcc1ccc27db
MD5 54af47bdbe8a2d6a40dc556f53aa06c2
BLAKE2b-256 f631b369d4185a6015d7d655d044b95523b2cca96a33dc6afa08bb9d25eff0f6

See more details on using hashes here.

Provenance

File details

Details for the file asyncstdlib-3.12.5-py3-none-any.whl.

File metadata

  • Download URL: asyncstdlib-3.12.5-py3-none-any.whl
  • Upload date:
  • Size: 43.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for asyncstdlib-3.12.5-py3-none-any.whl
Algorithm Hash digest
SHA256 277084c59caf8148c9cd83c7425f37aba7f43078645129ec6918d0f1a0adc95a
MD5 f272395a213d42b8f0a28ecccd662bdf
BLAKE2b-256 66b6ce5f8bd81060dad591dd15784066ad959aa5797f3b8bbf37ad8592a7198c

See more details on using hashes here.

Provenance

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