Comparison
pyvalid vs runtime-type-checker vs strongtyping vs typeguard
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
The module, which allows easily validate function's input/output values.
Likely abandoned. No release or commit for years (last release over 6 years ago).
pip install pyvalidRuntime-type-checker performs type check at runtime with help of type annotations
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install runtime-type-checkerDecorator which checks whether the function is called with the correct type of parameters
Maintained. Last release 5 weeks ago, commits in 4 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install strongtypingRun-time type checker for Python
Actively maintained. Last release 11 days ago, commits in 8 of the last 26 weeks. A safe choice.
pip install typeguardIn short
- pyvalid looks abandoned: avoid it for new projects.
- runtime-type-checker is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- typeguard is the most used: 67.6M downloads a month, 297× more than pyvalid.
- Maintenance is comparable: typeguard 72, strongtyping 67 on Pythie’s Index.
- strongtyping is growing fastest: downloads +38% over the last month.
- Safe default for a new project: typeguard.
Side by side
| Metric | pyvalid | runtime-type-checker | strongtyping | typeguard |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 16 | Pythie’s Index: 16 | Pythie’s Index: 67 | Pythie’s Index: 72 |
| Verdict | Likely abandoned | Slowing down | Maintained | Actively maintained |
| Downloads / month | 227.8K | 103.3K | 121.7K | 67.6M |
| Downloads, month over month | -8% | +117% | +38% | +11% |
| GitHub stars | 33 | 6 | 121 | 1.8K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 1 | 0 | 6 | 668 |
| Last release | Oct 13, 2020 | Feb 28, 2024 | Oct 25, 2026 | Nov 20, 2026 |
| Releases, 12 months | 0 | 0 | 16 | 5 |
| Weeks with commits | 0 / 26 | 0 / 26 | 4 / 26 | 8 / 26 |
| Recent contributors | 3 | 2 | 4 | 25 |
| First release | Aug 2014 | May 2020 | Jun 2020 | Dec 2015 |
| Python versions | 3.0 – 3.9 | 3.6 – 3.12 | 3.13 – 3.15 | 3.10 – 3.15 |
| License | MIT | MIT | CC-BY-ND-4.0 | MIT |
| 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.