Skip to main content

PythonSignal Signal/Event Python PyPackage

A small implementation of signals, inspired by a snippet of Django signal

Installation

Use the package manager pip to install foobar.

pip install python_sginal
#Define NameSpace
from python_signal import Namespace
_signals = Namespace()

#reciever
user_login = _signals.signal('user_login')

@user_login.connect
def after_user_login(current_user):
    pass

#sender
user_login.send(user)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Release files for python-signal 0.0.2

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

Source distribution (sdist)

Source distribution for python-signal 0.0.2
File Size Uploaded
python_signal-0.0.2.tar.gz 7.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-signal 0.0.2
File Interpreter ABI Platform
python_signal-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 14.6 kB

Release files / python_signal-0.0.2.tar.gz

Download URL python_signal-0.0.2.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
909fa83fa172e1e76c0cf5671a0f8c6e69aa7038b9eb28e163f65a62fda8a109
BLAKE2b-256 checksum
How to use checksums
8e115af7648540579babe67b1f13420b6df4c1617f9a5fe48edd411d327ff6ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.6

Release files / python_signal-0.0.2-py3-none-any.whl

Download URL python_signal-0.0.2-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db148539560c6802cfb04e29b347cf8dea4b38a359e0af8a74b4fac5eed203f6
BLAKE2b-256 checksum
How to use checksums
d6203db690af7c951c707e35b194e1608a9b911bb829e4207401b4230e145005
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

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