Skip to main content

A library for helping configure asynchronous callbacks using member descriptors

Project description

aiocallback:

PyPI version PyPI - Downloads License: MIT Imports: isort

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiocallback-0.3.2.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiocallback-0.3.2-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file aiocallback-0.3.2.tar.gz.

File metadata

  • Download URL: aiocallback-0.3.2.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for aiocallback-0.3.2.tar.gz
Algorithm Hash digest
SHA256 643d8cadd7a3e79020f8267ecddef2eae3d79e66445098f9fa89266d1520b41f
MD5 4003b989637284a4a971ee681010b57b
BLAKE2b-256 bd29a9ec6dfcf0af2fa1287f31347c3b8f38e01ec4fe95b6566f8120f6e233f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for aiocallback-0.3.2.tar.gz:

Publisher: python-publish.yml on Vizonex/aiocallback

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aiocallback-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: aiocallback-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for aiocallback-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ff5df7e9541c8461973ef7f877622bc3ebd3a784a9c5b81fba8da4db33f8f9cf
MD5 c0ad17a2b48f8d9d20e3a6e70ccb1583
BLAKE2b-256 f6a3d07e4c337ec2b7d07cef7e5d048bd420e93cc5107d0d2a0106d1035eaaa0

See more details on using hashes here.

Provenance

The following attestation bundles were made for aiocallback-0.3.2-py3-none-any.whl:

Publisher: python-publish.yml on Vizonex/aiocallback

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page