Comparison
null vs nulltype vs sentinel vs sentinels
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Implements the null object pattern.
Likely abandoned. No release or commit for years (last release over 13 years ago).
pip install nullNull 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
- null looks abandoned: avoid it for new projects.
- 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).
Side by side
| Metric | null | nulltype | sentinel | sentinels |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | Pythie’s Index: 19 | Pythie’s Index: 14 | Pythie’s Index: 27 |
| Verdict | Likely abandoned | Likely abandoned | Likely abandoned | Low maintenance activity |
| Downloads / month | 79.9K | 3.6M | 307.1K | 10.1M |
| Downloads, month over month | +0% | +9% | +92% | +8% |
| GitHub stars | – | – | 28 | 9 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 1 | 36 | 14 | 18 |
| Last release | Mar 5, 2013 | Jun 3, 2018 | Jul 23, 2022 | Aug 12, 2025 |
| Releases, 12 months | 0 | 0 | 0 | 0 |
| Weeks with commits | – | – | 0 / 26 | 0 / 26 |
| Recent contributors | – | – | 4 | 6 |
| First release | Jun 2011 | Dec 2014 | Aug 2014 | Jul 2011 |
| Python versions | 3.2 – 3.3 | 3.3 – 3.7 | 3.6 – 3.10 | 3.9 – 3.13 |
| License | MIT | Apache-2.0 | MIT | BSD-3-Clause |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.