Some convenient utilities for asyncio
Project description
asyncio-addon
Some convenient utilities for asyncio.
Utilities include:
@async_main: A decorator to run an async function as the main entry point.run_sync: Run a coroutine in sync, even if the async event loop is running.run_async: An alias ofasyncio.to_thread. Run a sync function in a separate thread.SemGroup: A task group with a semaphore, allowing limited concurrency.gather_all: Enhanced version ofasyncio.gatherwith concurrency control and improved error handling.
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_addon-0.2.0.tar.gz.
File metadata
- Download URL: asyncio_addon-0.2.0.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e83d00fe464d8151d8502137158ef98db03ab8e6f92330f2ff509c8dd2b6f4a6
|
|
| MD5 |
8add73864c0a4bacc2e5f0bf87b12de5
|
|
| BLAKE2b-256 |
ea85ff5efb67ee368a8067f2d1897c31a7e212e636fd03de8bfa7cab22622484
|
Provenance
The following attestation bundles were made for asyncio_addon-0.2.0.tar.gz:
Publisher:
publish-to-pypi.yml on observerw/asyncio-addon
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
asyncio_addon-0.2.0.tar.gz -
Subject digest:
e83d00fe464d8151d8502137158ef98db03ab8e6f92330f2ff509c8dd2b6f4a6 - Sigstore transparency entry: 262677116
- Sigstore integration time:
-
Permalink:
observerw/asyncio-addon@8de6a4cdd7eb6e06197f4013ddcf7baa941350b3 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/observerw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@8de6a4cdd7eb6e06197f4013ddcf7baa941350b3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file asyncio_addon-0.2.0-py3-none-any.whl.
File metadata
- Download URL: asyncio_addon-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a20d6ca45de77c7897eccd813f95876ed9c53ba9fd3ddb87e72f8f9ccd385f37
|
|
| MD5 |
17ef780fbfae7678f7ace198988b02f8
|
|
| BLAKE2b-256 |
045fa9bc55fab6d68e6dc6c16eff43ec34fa261b64598d1bbf3c68da851d4fcf
|
Provenance
The following attestation bundles were made for asyncio_addon-0.2.0-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on observerw/asyncio-addon
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
asyncio_addon-0.2.0-py3-none-any.whl -
Subject digest:
a20d6ca45de77c7897eccd813f95876ed9c53ba9fd3ddb87e72f8f9ccd385f37 - Sigstore transparency entry: 262677129
- Sigstore integration time:
-
Permalink:
observerw/asyncio-addon@8de6a4cdd7eb6e06197f4013ddcf7baa941350b3 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/observerw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@8de6a4cdd7eb6e06197f4013ddcf7baa941350b3 -
Trigger Event:
push
-
Statement type: