Comparison
trycast vs type-enforced vs typeguard
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Maintained. Last release 6 weeks ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install trycastA dependency free type enforcer for python type annotations
Actively maintained. Last release 5 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 10 days ago, commits in 8 of the last 26 weeks. A safe choice.
$
pip install typeguardIn short
- typeguard is the most used: 67.6M downloads a month, 760× more than type-enforced.
- type-enforced is better maintained: Pythie’s Index 84 against 72.
- typeguard is growing fastest: downloads +11% over the last month.
- Safe default for a new project: typeguard, or type-enforced if active maintenance matters most.
Side by side
| Metric | trycast | type-enforced | typeguard |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 47 | Pythie’s Index: 84 | Pythie’s Index: 72 |
| Verdict | Maintained | Actively maintained | Actively maintained |
| Downloads / month | 43.7K | 88.8K | 67.6M |
| Downloads, month over month | -34% | -59% | +11% |
| GitHub stars | 88 | 73 | 1.8K |
| Stars, last 7 days | – | – | – |
| Direct dependents | 5 | 12 | 668 |
| Last release | Oct 21, 2026 | Nov 25, 2026 | Nov 20, 2026 |
| Releases, 12 months | 2 | 26 | 5 |
| Weeks with commits | 2 / 26 | 15 / 26 | 8 / 26 |
| Recent contributors | 3 | 2 | 25 |
| First release | Dec 2020 | Apr 2022 | Dec 2015 |
| Python versions | 3.10 – 3.15 | – | 3.10 – 3.15 |
| License | MIT | MIT | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.