https://github.com/maxfischer2781/asyncstdlib
the missing toolbox for an async world
https://github.com/maxfischer2781/asyncstdlib
async asyncio python trio
Last synced: 5 months ago
JSON representation
the missing toolbox for an async world
- Host: GitHub
- URL: https://github.com/maxfischer2781/asyncstdlib
- Owner: maxfischer2781
- License: mit
- Created: 2019-11-20T16:49:47.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-09T07:46:22.000Z (7 months ago)
- Last Synced: 2025-05-09T04:13:54.682Z (5 months ago)
- Topics: async, asyncio, python, trio
- Language: Python
- Homepage: https://asyncstdlib.readthedocs.io
- Size: 494 KB
- Stars: 302
- Watchers: 5
- Forks: 22
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- Contributing: .github/CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
README
================================================
``asyncstdlib`` -- the missing ``async`` toolbox
================================================.. image:: https://readthedocs.org/projects/asyncstdlib/badge/?version=latest
:target: http://asyncstdlib.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status.. image:: https://img.shields.io/pypi/v/asyncstdlib.svg
:alt: Available on PyPI
:target: https://pypi.python.org/pypi/asyncstdlib/.. image:: https://anaconda.org/conda-forge/asyncstdlib/badges/version.svg
:alt: Available on Conda-Forge
:target: https://anaconda.org/conda-forge/asyncstdlib.. image:: https://img.shields.io/github/license/maxfischer2781/asyncstdlib.svg
:alt: License
:target: https://github.com/maxfischer2781/asyncstdlib/blob/master/LICENSE.. image:: https://badges.gitter.im/maxfischer2781/asyncstdlib.svg
:target: https://gitter.im/maxfischer2781/asyncstdlib?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
:alt: Development ChatThe ``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.
.. _documentation: http://asyncstdlib.readthedocs.io/