Comparison
Pint vs quantities vs unyt
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Physical quantities module
Actively maintained. Last release 6 weeks ago, commits in 14 of the last 26 weeks. A safe choice.
$
pip install pintSupport for physical quantities with units, based on numpy
Maintained. Last release 12 days ago, commits in 5 of the last 26 weeks. Weaker on commit activity.
$
pip install quantitiesA package for handling numpy arrays with units
Actively maintained. Last release 6 weeks ago, commits in 16 of the last 26 weeks. A safe choice.
$
pip install unytIn short
- Pint is the most used: 8.9M downloads a month, 40× more than quantities.
- Maintenance is comparable: Pint 88, unyt 81, quantities 64 on Pythie’s Index.
- unyt is growing fastest: downloads +36% over the last month.
- Safe default for a new project: Pint.
Side by side
| Metric | Pint | quantities | unyt |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 88 | 64 |