Skip to main content

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

Project description

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.2 (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.2-py2.py3-none-any.whl (14.0 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: async_nexus-1.0.2-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.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0efe6020f1df97c77229972b462f7fe244b166cb1ab99c80f62d33f3e4aaf4bb
MD5 9f80d199337ad5383fd6febce10ad4fc
BLAKE2b-256 de3788004ef58f1bc0a5f75fe0b732e44d6b1f40055ee54c9eef300d4f0f54a9

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