Comparison
Events vs psygnal vs PyDispatcher vs Pypubsub
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Bringing the elegance of C# EventHandler to Python
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install eventsFast python callback/event system modeled after Qt Signals
Maintained. Last release 2 weeks ago, commits in 5 of the last 26 weeks. Weaker on commit activity.
pip install psygnalMulti-producer multi-consumer in-memory signal dispatch system
Maintained. Last release 2 months ago, commits in 6 of the last 26 weeks. Weaker on release cadence.
pip install pydispatcherPython Publish-Subscribe Package
Low maintenance activity. Last release 12 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install pypubsubIn short
- Events is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- psygnal is the most used: 3.4M downloads a month.
- Maintenance is comparable: psygnal 68, PyDispatcher 60, Pypubsub 30 on Pythie’s Index.
- Safe default for a new project: psygnal.
Side by side
| Metric | Events | psygnal | PyDispatcher | Pypubsub |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | 68 |