Comparison
nulltype vs sentinel vs sentinels
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Null values and sentinels like (but not) None, False & True
Likely abandoned. No release or commit for years (last release over 8 years ago).
$
pip install nulltypeCreate sentinel objects, akin to None, NotImplemented, Ellipsis
Likely abandoned. No release or commit for years (last release over 4 years ago).
$
pip install sentinelVarious objects to denote special meanings in python
Low maintenance activity. Last release 16 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install sentinelsIn short
- nulltype looks abandoned: avoid it for new projects.
- sentinel looks abandoned: avoid it for new projects.
- sentinels is the most used: 10.1M downloads a month, 2.8× more than nulltype.
- sentinels also has the best Pythie’s Index (27).