Comparison
runtime-type-checker vs strongtyping vs trycast 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 strongtypingMaintained. Last release 6 weeks ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install trycastRun-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: typeguard 75, strongtyping 67, trycast 47 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 | trycast | typeguard |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 16 | Pythie’s Index: 67 | Pythie’s Index: 47 | Pythie’s Index: 75 |
| Verdict | Slowing down | Maintained | Maintained | Actively maintained |
| Downloads / month | 81K | 118.8K | 43.7K | 68.1M |
| Downloads, month over month | +19% | +38% | -30% | +12% |
| GitHub stars | 6 | 121 | 88 | 1.8K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 6 | 5 | 668 |
| Last release | Feb 28, 2024 | Oct 25, 2026 | Oct 21, 2026 | Nov 20, 2026 |
| Releases, 12 months | 0 | 16 | 2 | 5 |
| Weeks with commits | 0 / 26 | 4 / 26 | 2 / 26 | 9 / 26 |
| Recent contributors | 2 | 4 | 3 | 28 |
| First release | May 2020 | Jun 2020 | Dec 2020 | Dec 2015 |
| Python versions | 3.6 – 3.12 | 3.13 – 3.15 | 3.10 – 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.