Skip to main content

Library to manage the transfer of data using lightweight Event objects in asynchronous Python programs.

Project description

Async Nexus

https://img.shields.io/pypi/v/async_nexus.svg Documentation Status

This is a library to manage the transfer of data using lightweight Event objects in asynchronous Python programs. It allows the creation of loosely-coupled programs using async coroutines and generators to create/handle events. This replaces the need for traditional callbacks and code that blocks waiting for something to happen, both of which increase coupling between modules (which is bad in medium and large programs).

The Async Nexus library (henceforth referred to by its package name) provides convenience classes for common event-related activities such as async_nexus.Timer. It also provides various abstract async_nexus.EventSource subclasses to allow the creation of application-specific classes that translate problem-domain events into async_nexus.Event objects, as well as fully usable classes for interacting with libraries like 0mq (ZeroMQ) and other message brokers.

async_nexus is designed to let you structure your programs and their interactions in the way that you want. It uses a pluggable event architecture with which you can change the way that events are created and consumed, and add a variety of ultimate sources, without having to redesign your program as it grows.

Features

  • TODO

Credits

(C)2025 Alastair Irvine <alastair@plug.org.au>

This package was created with Cookiecutter and the unixnut/cookiecutter-pypackage project template.

History

0.1.0 (2025-06-10)

Project inception. This idea has been cooking in my head for a while so it’s great to finally get started on developing it!

1.0.1 (2025-07-30)

  • First release on PyPI.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

async_nexus-1.0.1-py2.py3-none-any.whl (14.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file async_nexus-1.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: async_nexus-1.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.2

File hashes

Hashes for async_nexus-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1b634768e078215692c0ae409aa08877fd344a3091064d273b5ffee96d4a278e
MD5 ffa95280d172815bedb08c764715dcf8
BLAKE2b-256 66914a853c191bec323fd203caa59916033754cdf1634fe9909a3c6483006e9e

See more details on using hashes here.

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