Comparison
numpydantic vs pydantic-numpy
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Type and shape validation and serialization for arbitrary array types in pydantic models
Actively maintained. Last release 3 weeks ago, commits in 12 of the last 26 weeks. A safe choice.
$
pip install numpydanticPydantic Model integration of the NumPy array
Actively maintained. Last release 6 weeks ago, commits in 11 of the last 26 weeks. A safe choice.
$
pip install pydantic-numpyIn short
- numpydantic is the most used: 539.6K downloads a month, 2.4× more than pydantic-numpy.
- numpydantic also has the best Pythie’s Index (89).
- numpydantic is growing fastest: downloads +31% over the last month.
- Safe default for a new project: numpydantic.
Side by side
| Metric | numpydantic | pydantic-numpy |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 89 | 78 |