An asyncio.Queue equivalent for asyncgui
Project description
Queue
An asyncio.Queue equivalent for asyncgui.
import asyncgui as ag
from asyncgui_ext.queue import Queue
async def producer(q):
for c in "ABC":
await q.put(c)
print('produced', c)
async def consumer(q):
async for c in q:
print('consumed', c)
q = Queue(capacity=1)
ag.start(producer(q))
ag.start(consumer(q))
produced A
produced B
consumed A
produced C
consumed B
consumed C
Installation
Pin the minor version.
poetry add asyncgui-ext-queue@~0.3
pip install "asyncgui-ext-queue>=0.3,<0.4"
Tested on
- CPython 3.10
- CPython 3.11
- CPython 3.12
- CPython 3.13
- CPython 3.14
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 asyncgui_ext_queue-0.3.2.tar.gz.
File metadata
- Download URL: asyncgui_ext_queue-0.3.2.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f52ef7041ffd487dd4f19c11939f5b6d42091c6b8e3d8885f1ad679968d9c11
|
|
| MD5 |
4b993e9784ef2497f31edee79df7ae4a
|
|
| BLAKE2b-256 |
2f392749349a50229baf85057ff219a32d09bc86db060eeab15bf890a9d16a99
|
Provenance
The following attestation bundles were made for asyncgui_ext_queue-0.3.2.tar.gz:
Publisher:
release.yml on asyncgui/asyncgui-ext-queue
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
asyncgui_ext_queue-0.3.2.tar.gz -
Subject digest:
2f52ef7041ffd487dd4f19c11939f5b6d42091c6b8e3d8885f1ad679968d9c11 - Sigstore transparency entry: 1230223792
- Sigstore integration time:
-
Permalink:
asyncgui/asyncgui-ext-queue@955705e45976946f142370fa857c8cf20522d0f3 -
Branch / Tag:
refs/tags/v0.3.2 - Owner: https://github.com/asyncgui
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@955705e45976946f142370fa857c8cf20522d0f3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file asyncgui_ext_queue-0.3.2-py3-none-any.whl.
File metadata
- Download URL: asyncgui_ext_queue-0.3.2-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
802a7b4ddeed806692714f69ea36360bb4d09c22f2e9046e174ca68842d7aa1f
|
|
| MD5 |
685718be0b1ed3b53e66f039ed6f72c3
|
|
| BLAKE2b-256 |
a096a8f32b7fecc6bbdc6d012e6a6209fb352049c032a9621a8b56bcd496c81d
|
Provenance
The following attestation bundles were made for asyncgui_ext_queue-0.3.2-py3-none-any.whl:
Publisher:
release.yml on asyncgui/asyncgui-ext-queue
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
asyncgui_ext_queue-0.3.2-py3-none-any.whl -
Subject digest:
802a7b4ddeed806692714f69ea36360bb4d09c22f2e9046e174ca68842d7aa1f - Sigstore transparency entry: 1230223795
- Sigstore integration time:
-
Permalink:
asyncgui/asyncgui-ext-queue@955705e45976946f142370fa857c8cf20522d0f3 -
Branch / Tag:
refs/tags/v0.3.2 - Owner: https://github.com/asyncgui
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@955705e45976946f142370fa857c8cf20522d0f3 -
Trigger Event:
push
-
Statement type: