sysutils/py-notify 0.3.1nb1 NetBSD
Python package providing tool for observer programming pattern
- System
- NetBSD
- Repository
- pkgsrc
- Last update
- Commit
d424cab72d- License
- gnu-lgpl-v2.1
- Categories
- sysutils, python
- Package size
- 71.0 KiB, 696.9 KiB installed
Description
Py-notify is a Python package providing tools for implementing `Observer programming pattern`. These tools include signals, conditions and variables.
Signals are lists of handlers that are called when signal is emitted. Conditions are basically boolean variables coupled with a signal that is emitted when condition state changes. They can be combined using standard logical operators (*not*, *and*, etc.) into compound conditions. Variables, unlike conditions, can hold any Python object, not just booleans, but they cannot be combined.
Install
Binary package:
pkgin install py27-notify
From pkgsrc:
cd /usr/pkgsrc/sysutils/py-notify && make install clean
Dependencies
Run dependencies 1
No port depends on this one.