Asynchronous ZIP Operator
The azip() function takes both synchronous and asynchronous iterables (can be zero or more), awaits their results one-by-one and aggregates them into a tuple.
It stops if one of the iterators is exhausted. It waits for the next value of all iterators before yielding the tuple.
Installation
python -m pip install azip
Usage
from azip.azip import azip
async for s, a in azip(sync_iter, async_iter):
print(s, a)
Metadata
Release files for azip 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| azip-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for azip-1.0.1-py3-none-any.whl |
Release files / azip-1.0.1-py3-none-any.whl
| Download URL | azip-1.0.1-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a26a488c273767d5c5bba8648994f70883d35178b68838ca9ae8342274f0efbb
|
|
BLAKE2b-256 checksum How to use checksums |
7a69a0a29d0ee42b9e004f318f6912d00107b030b241e59f96b47e1e928e7af3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Security for azip 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.