Skip to main content
GitHub status for master branch codecov.io status for master branch Latest PyPI package version Latest Read The Docs Discourse group for io-libs Chat on Gitter

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

The library requires Python 3.6 or newer.

Documentation

https://aiosignal.readthedocs.io/

Communication channels

gitter chat https://gitter.im/aio-libs/Lobby

Requirements

  • Python >= 3.6

  • frozenlist >= 1.0.0

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.

Release files for aiosignal 1.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aiosignal 1.3.1
File Size Uploaded
aiosignal-1.3.1.tar.gz 19.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aiosignal 1.3.1
File Interpreter ABI Platform
aiosignal-1.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 27.0 kB

Release files / aiosignal-1.3.1.tar.gz

Download URL aiosignal-1.3.1.tar.gz
Size 19.4 kB
Tags Source
SHA-256 checksum
How to use checksums
54cd96e15e1649b75d6c87526a6ff0b6c1b0dd3459f43d9ca11d48c339b68cfc
BLAKE2b-256 checksum
How to use checksums
ae670952ed97a9793b4958e5736f6d2b346b414a2cd63e82d05940032f45b32f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release files / aiosignal-1.3.1-py3-none-any.whl

Download URL aiosignal-1.3.1-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f8376fb07dd1e86a584e4fcdec80b36b7f81aac666ebc724e2c090300dd83b17
BLAKE2b-256 checksum
How to use checksums
76aca7305707cb852b7e16ff80eaf5692309bde30e2b1100a1fcacdc8f731d97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release history Release notifications | RSS feed

1.4.0

2 release files

1.3.2

2 release files

This release

1.3.1 This release

2 release files

1.2.0

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page