Skip to main content

Python Wires

Project description

PyPI CI Status Test Coverage

wires is a library to facilitate “callable wiring” by decoupling callers from callees and avoiding passing around multiple callables in Python code; it can be used as a callable-based event system or, again callable-based, publish-subscribe like solution.

Minimal usage example:

from wires import w

def my_callable():
    print('Hello from wires!')

w.this_callable.wire(my_callable)
w.this_callable()

Thanks

About

Python Wires was created by Tiago Montes.

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

wires-18.1.0b2.tar.gz (11.0 kB view hashes)

Uploaded Source

Built Distribution

wires-18.1.0b2-py2.py3-none-any.whl (8.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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