Asynchronous channels and utilities.
Project description
Asynchronous channels for communication and synchronization between asyncio coroutines.
from asyncio_channel import create_channel
# Create a new channel.
ch = create_channel()
# Put an item on the channel; block until the item is accepted.
await ch.put(x)
# Take an item from the channel; block until an item is available.
x = await ch.take()
# Do something each time an item is put on the channel.
async for x in ch:
do_something(x)
do_something_else(x)
# Iteration stops when the channel is closed and drained.
Also contains several utilities for piping items between channels, mixing multiple input channels, routing messages by topic, and more.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file asyncio_channel-0.10.1.tar.gz.
File metadata
- Download URL: asyncio_channel-0.10.1.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a97f177ba46c76e35fa2ef757c5a74f7dcdfeaa9a7b561d10eabbb85874449f1
|
|
| MD5 |
b51e242a17f1bff3d99598389327c06d
|
|
| BLAKE2b-256 |
a93bbd204c0d7d94c5a41cd3f4406e5d98224fa39b5e8a87f77823448b7e224e
|
Provenance
The following attestation bundles were made for asyncio_channel-0.10.1.tar.gz:
Publisher:
release.yml on ebb29c/asyncio-channel
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
asyncio_channel-0.10.1.tar.gz -
Subject digest:
a97f177ba46c76e35fa2ef757c5a74f7dcdfeaa9a7b561d10eabbb85874449f1 - Sigstore transparency entry: 2072095408
- Sigstore integration time:
-
Permalink:
ebb29c/asyncio-channel@718707373ea3685d298f71c60af3e0a87f3549f7 -
Branch / Tag:
refs/tags/v0.10.1 - Owner: https://github.com/ebb29c
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@718707373ea3685d298f71c60af3e0a87f3549f7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file asyncio_channel-0.10.1-py3-none-any.whl.
File metadata
- Download URL: asyncio_channel-0.10.1-py3-none-any.whl
- Upload date:
- Size: 24.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ee1b6da4a7a86359f3c2cab5e3177562e50071a6c49a3f81497810d32d20370
|
|
| MD5 |
dcfdca4c46f5d51c36c1b02ad11e5ed3
|
|
| BLAKE2b-256 |
14fa62a00010f58cee8c972c51bd67653d00c87280c1959135971b8240022e01
|
Provenance
The following attestation bundles were made for asyncio_channel-0.10.1-py3-none-any.whl:
Publisher:
release.yml on ebb29c/asyncio-channel
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
asyncio_channel-0.10.1-py3-none-any.whl -
Subject digest:
7ee1b6da4a7a86359f3c2cab5e3177562e50071a6c49a3f81497810d32d20370 - Sigstore transparency entry: 2072095619
- Sigstore integration time:
-
Permalink:
ebb29c/asyncio-channel@718707373ea3685d298f71c60af3e0a87f3549f7 -
Branch / Tag:
refs/tags/v0.10.1 - Owner: https://github.com/ebb29c
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@718707373ea3685d298f71c60af3e0a87f3549f7 -
Trigger Event:
push
-
Statement type: