aiosignal: a list of registered asynchronous callbacks
Project description
Introduction
A project to manage callbacks in asyncio projects.
Signal is a list of registered asynchronous callbacks.
The signal’s life-cycle has two stages: after creation its content could be filled by using standard list operations: sig.append() etc.
After you call sig.freeze() the signal is frozen: adding, removing and dropping callbacks is forbidden.
The only available operation is calling the previously registered callbacks by using await sig.send(data).
For concrete usage examples see the Signals <https://docs.aiohttp.org/en/stable/web_advanced.html#aiohttp-web-signals> section of the `Web Server Advanced <https://docs.aiohttp.org/en/stable/web_advanced.html> chapter of the aiohttp documentation.
Installation
$ pip install aiosignal
Documentation
License
aiosignal is offered under the Apache 2 license.
Source code
The project is hosted on GitHub
Please file an issue in the bug tracker if you have found a bug or have some suggestions to improve the library.
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 aiosignal-1.4.0.tar.gz.
File metadata
- Download URL: aiosignal-1.4.0.tar.gz
- Upload date:
- Size: 25.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 |
f47eecd9468083c2029cc99945502cb7708b082c232f9aca65da147157b251c7
|
|
| MD5 |
9c692735b1422a94f16bd066ebf1fb7c
|
|
| BLAKE2b-256 |
616206741b579156360248d1ec624842ad0edf697050bbaf7c3e46394e106ad1
|
Provenance
The following attestation bundles were made for aiosignal-1.4.0.tar.gz:
Publisher:
ci-cd.yml on aio-libs/aiosignal
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aiosignal-1.4.0.tar.gz -
Subject digest:
f47eecd9468083c2029cc99945502cb7708b082c232f9aca65da147157b251c7 - Sigstore transparency entry: 262231662
- Sigstore integration time:
-
Permalink:
aio-libs/aiosignal@1cf80149c869d410c90a58e85e9c703be6ef8692 -
Branch / Tag:
refs/tags/v1.4.0 - Owner: https://github.com/aio-libs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci-cd.yml@1cf80149c869d410c90a58e85e9c703be6ef8692 -
Trigger Event:
push
-
Statement type:
File details
Details for the file aiosignal-1.4.0-py3-none-any.whl.
File metadata
- Download URL: aiosignal-1.4.0-py3-none-any.whl
- Upload date:
- Size: 7.5 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 |
053243f8b92b990551949e63930a839ff0cf0b0ebbe0597b0f3fb19e1a0fe82e
|
|
| MD5 |
acabfc37fbc3224ecac26c857e082d17
|
|
| BLAKE2b-256 |
fb76641ae371508676492379f16e2fa48f4e2c11741bd63c48be4b12a6b09cba
|
Provenance
The following attestation bundles were made for aiosignal-1.4.0-py3-none-any.whl:
Publisher:
ci-cd.yml on aio-libs/aiosignal
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aiosignal-1.4.0-py3-none-any.whl -
Subject digest:
053243f8b92b990551949e63930a839ff0cf0b0ebbe0597b0f3fb19e1a0fe82e - Sigstore transparency entry: 262231672
- Sigstore integration time:
-
Permalink:
aio-libs/aiosignal@1cf80149c869d410c90a58e85e9c703be6ef8692 -
Branch / Tag:
refs/tags/v1.4.0 - Owner: https://github.com/aio-libs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci-cd.yml@1cf80149c869d410c90a58e85e9c703be6ef8692 -
Trigger Event:
push
-
Statement type: