onoff

A universal mixin to add on(), off(), and trigger() style event handling to any Python class.

Installation

In a virtualenv (see these instructions if you need to create one):

pip3 install onoff

Dependencies

  • None

Releases

Version Released Bullseye
Python 3.9
Bookworm
Python 3.11
Trixie
Python 3.13
Files
1.0.1 2014-05-26  

Issues with this package?

Page last updated 2026-05-12 14:26:43 UTC