eventer 0.1.1
A simple event dispatching library
Downloads ↓ | Package Documentation
Eventer is a simple event dispaching library.
It provides a simple API to bind and trigger custom named events. Events do not have to be declared before they are bound.
import eventer
def on_edit(page):
subject = page.path + " is edited"
sendmail(subject=subject)
eventer.bind("edit", on_edit)
eventer.trigger("edit", page)
The API is inspired by event handling in jQuery and backbone.js.
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| eventer-0.1.1.tar.gz (md5) | Source | 2011-06-01 | 1KB | 362 | |
- Author: Anand Chitipothu
- Documentation: eventer package documentation
- License: GPL v3
- Package Index Owner: anandology
- DOAP record: eventer-0.1.1.xml
