Comparison
measurement vs quantities
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Easily use and manipulate unit-aware measurements in Python.
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install measurementSupport for physical quantities with units, based on numpy
Maintained. Last release 11 days ago, commits in 5 of the last 26 weeks. Weaker on commit activity.
$
pip install quantitiesIn short
- measurement is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- quantities is the most used: 224.2K downloads a month.
- quantities also has the best Pythie’s Index (64).
- Safe default for a new project: quantities.
Side by side
| Metric | measurement | quantities |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 26 | 64 |