asyncstdlib-fw
Fork of asyncstdlib that work with fireworks-ai
What it is and what it does
asyncstdlib-fw is a fork of asyncstdlib that re-implements Python's standard library functions to work seamlessly with async callables, iterables, and context managers. It provides async versions of familiar tools like zip, map, enumerate, functools.reduce, and itertools operations, letting developers use idiomatic patterns in async code without writing custom wrappers.
The package has no runtime dependencies and works with any async event loop—asyncio, trio, or custom implementations. It handles async iterator cleanup safely and includes utilities for integrating synchronous code into async programs. With zero external dependencies and production-stable status, it's a lightweight addition to async Python projects.
Use it for:
- Iterate over multiple async iterables in parallel using async zip or map without manual coroutine management.
- Enumerate async iterables to track position while consuming async generators or streams.
- Group or reduce async data streams using async versions of itertools and functools operations.
- Safely integrate existing synchronous helper functions into async codebases with minimal refactoring.
- Build async pipelines that combine multiple standard library patterns in a single expression.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides async-compatible versions of Python standard library functions like zip, map, enumerate, and itertools operations, enabling them to work with async iterables and callables.
Yes. Zero dependencies, permissive MIT license, active maintenance, and production-stable status make this a low-risk addition. Install if you work with async iterables and want to avoid writing custom wrappers for standard operations—the library directly solves that problem. The fork designation warrants checking whether it diverges from upstream in ways that matter to your use case.
Install
asyncstdlib-fw on PyPI
pip
pip install asyncstdlib-fwuv
uv add asyncstdlib-fwpoetry
poetry add asyncstdlib-fwInstalling asyncstdlib-fw
Before you install
Low friction installation with no runtime dependencies. Actively maintained with recent commits and production-stable status across Python 3.8–3.13.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install asyncstdlib-fw
import asyncstdlib
async def example():
async_iter = asyncstdlib.enumerate(some_async_iterable)
async for index, item in async_iter:
print(index, item)
Requires Python 3.8 or later.
Verify before relying
- Whether the fork maintains feature parity with the original asyncstdlib or introduces breaking changes.
- Performance characteristics compared to manual async iteration patterns.
Package facts
| License | MIT License Copyright (c) 2019 - 2024 Max Kühn Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 452 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 494,744/month — #6,346 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: asyncstdlib_fw-3.13.2-py3-none-any.whl
Keywords: async, enumerate, itertools, builtins, functools, contextlib
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
aioitertoolsProvides async-compatible versions of Python's…
permissive · top 1,000 on PyPI
asyncstdlibProvides async-compatible versions of Python…
permissive · top 5,000 on PyPI
python-utilsA collection of fully-typed utility functions…
permissive · top 5,000 on PyPI
more-itertoolsProvides additional iterator utilities and…
permissive · top 1,000 on PyPI
toolzToolz provides utility functions for…
permissive · top 1,000 on PyPI
cytoolzCython-accelerated implementation of the toolz…
permissive · top 5,000 on PyPI
jaraco.itertoolsProvides additional iterator utilities and…
permissive · top 15,000 on PyPI
flupyFlupy provides a fluent interface for lazy…
permissive · top 5,000 on PyPI
lmzProvides convenience functions for mapping,…
copyleft · top 15,000 on PyPI
aiostreamaiostream provides composable stream operators…
copyleft · top 5,000 on PyPI