Comparison
jaxtyping vs nptyping
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Type annotations and runtime checking for shape and dtype of JAX/NumPy/PyTorch/etc. arrays.
Maintained. Last release 6 months ago, commits in 4 of the last 26 weeks. Weaker on commit activity.
$
pip install jaxtypingType hints for NumPy.
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install nptypingIn short
- nptyping is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- jaxtyping is the most used: 6.2M downloads a month, 23× more than nptyping.
- jaxtyping also has the best Pythie’s Index (62).
- jaxtyping is growing fastest: downloads +11% over the last month.
- Safe default for a new project: jaxtyping.