buzzkill
Guaranteed emergency-stop helper for Python. Wrap critical sections so a user-supplied shutdown callback always runs — on normal exit, on exception, or on SIGINT. Planned roadmap includes BLE device registry and haptic feedback for real hardware kill-switches.
Install
pip install buzzkill
Usage
from buzzkill import EmergencyStop
stopped = []
def cut_power():
stopped.append("power_cut")
with EmergencyStop(cut_power):
# work that must never leave hardware/live state dangling
pass
assert stopped == ["power_cut"]
Roadmap
This is an early 0.1.0 release with active development planned:
- BLE device registry for pairing emergency-stop hardware
- Haptic / status feedback hooks
- Cross-platform signal coverage refinements
Author
Coldbricks — coldbricks@gmail.com
Release files for buzzkill 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| buzzkill-0.1.0.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| buzzkill-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.7 kB
Release files / buzzkill-0.1.0.tar.gz
| Download URL | buzzkill-0.1.0.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c42ba057915e2ce5bb8a37007c1ee348115f8b627c6ef2786141fb2767d1c6d
|
|
BLAKE2b-256 checksum How to use checksums |
cdadc61e23099992c4f997125ba46e934a1e2026af70d1123904f6d5d2b0fff3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|
Release files / buzzkill-0.1.0-py3-none-any.whl
| Download URL | buzzkill-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2abf6c87b47b34a6b112990ca2f5aabbdb679a1dd6058c3bb964ecfc45e7c4e3
|
|
BLAKE2b-256 checksum How to use checksums |
801037053d564159be6fe77a00777d054bb405a57128bdada416c9afb52e9ece
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|