Comparison
runtime-type-checker vs strongtyping vs type-enforced vs typeguard
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Runtime-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 strongtypingA dependency free type enforcer for python type annotations
Actively maintained. Last release 6 days ago, commits in 15 of the last 26 weeks. A safe choice.
pip install type-enforcedRun-time type checker for Python
Actively maintained. Last release 11 days ago, commits in 9 of the last 26 weeks. A safe choice.
pip install typeguardIn short
- 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: 68.1M downloads a month, 573× more than strongtyping.
- Maintenance is comparable: type-enforced 84, typeguard 75, 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 | runtime-type-checker | strongtyping | type-enforced | typeguard |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 16 | Pythie’s Index: 67 | Pythie’s Index: 84 | Pythie’s Index: 75 |
| Verdict | Slowing down | Maintained | Actively maintained | Actively maintained |
| Downloads / month | 81K | 118.8K | 88.7K | 68.1M |
| Downloads, month over month | +19% | +38% | -56% | +12% |
| GitHub stars | 6 | 121 | 73 | 1.8K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 6 | 12 | 668 |
| Last release | Feb 28, 2024 | Oct 25, 2026 | Nov 25, 2026 | Nov 20, 2026 |
| Releases, 12 months | 0 | 16 | 26 | 5 |
| Weeks with commits | 0 / 26 | 4 / 26 | 15 / 26 | 9 / 26 |
| Recent contributors | 2 | 4 | 2 | 28 |
| First release | May 2020 | Jun 2020 | Apr 2022 | Dec 2015 |
| Python versions | 3.6 – 3.12 | 3.13 – 3.15 | – | 3.10 – 3.15 |
| License | MIT | CC-BY-ND-4.0 | MIT | 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.