A library for helping configure asynchronous callbacks using member descriptors
Project description
aiocallback:
An asynchronous helper toolbag for writing callback systems at a medeium level. For now many things are being moved to aioplugin but soon as the project stablizies this library will be getting some old/newer features back. For now if you still need a few things I recommend trying aioplugin for now...
Usage:
Aiocallback should be used when dealing with creating custom context objects or callbacks. An example might be scraping an api by a given hour and calling for that data that can be defined by multiple functions. However, there are many more creative ways to use this library.
Dependencies
- frozenlist we dropped aiosignal in favor of frozenlist since it's funtionality is not yet needed and can simply being copied over and modified.
- typing-extensions Typehinting for Python 3.9, plan to drop typing-extensions when 3.9 hits End of Life so that ParamSpec can be utilized to it's fullest potential.
Installing
The easiest way is to install aiocallback is from PyPI using pip:
pip install aiocallback
Links
- Tutorial Obsolete Items descussed are being deprecated.
Alternatives
- aiosignal I am a contributor over there and I revived this project pretty recently. It's a very good replacement if you want speed and don't require anything fancy from here.
- aioplugin A Promising rewrite of this library meant to provide an upper level for this library in the future. EventLists are essentially being renamed to plugins which is pretty neat :)
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 aiocallback-0.2.0.tar.gz.
File metadata
- Download URL: aiocallback-0.2.0.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa08af6ed4e528435f5c386ebed66aee99e989e91361b602b4bc3732c41d3e57
|
|
| MD5 |
b1bc2ce382438f43ae1959f46b062d16
|
|
| BLAKE2b-256 |
65d5fc1aca715c4959121284762816c12f307d3d682c59e53d9555ad9a6d0d50
|
Provenance
The following attestation bundles were made for aiocallback-0.2.0.tar.gz:
Publisher:
python-publish.yml on Vizonex/aiocallback
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aiocallback-0.2.0.tar.gz -
Subject digest:
fa08af6ed4e528435f5c386ebed66aee99e989e91361b602b4bc3732c41d3e57 - Sigstore transparency entry: 1247591537
- Sigstore integration time:
-
Permalink:
Vizonex/aiocallback@d924ce11906fd381dbe3f24f01717cc7cee206a4 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/Vizonex
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@d924ce11906fd381dbe3f24f01717cc7cee206a4 -
Trigger Event:
release
-
Statement type:
File details
Details for the file aiocallback-0.2.0-py3-none-any.whl.
File metadata
- Download URL: aiocallback-0.2.0-py3-none-any.whl
- Upload date:
- Size: 9.3 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 |
e0ba73bb5caa65b0e6f57a53bf62f207c638a67feb62219fea64d680aeab9b63
|
|
| MD5 |
6398df181b1c6806061a7910c0376476
|
|
| BLAKE2b-256 |
61ace664787250e4894eb7522c8b2e525580e0001d8bcd980e4a729253fed9ef
|
Provenance
The following attestation bundles were made for aiocallback-0.2.0-py3-none-any.whl:
Publisher:
python-publish.yml on Vizonex/aiocallback
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aiocallback-0.2.0-py3-none-any.whl -
Subject digest:
e0ba73bb5caa65b0e6f57a53bf62f207c638a67feb62219fea64d680aeab9b63 - Sigstore transparency entry: 1247591538
- Sigstore integration time:
-
Permalink:
Vizonex/aiocallback@d924ce11906fd381dbe3f24f01717cc7cee206a4 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/Vizonex
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@d924ce11906fd381dbe3f24f01717cc7cee206a4 -
Trigger Event:
release
-
Statement type: