Comparison
cf-units vs Pint vs quantities
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Units of measure as required by the Climate and Forecast (CF) metadata conventions
Maintained. Last release 10 months ago, commits in 6 of the last 26 weeks. Weaker on release cadence.
$
pip install cf-unitsPhysical 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 11 days ago, commits in 5 of the last 26 weeks. Weaker on commit activity.
$
pip install quantitiesIn short
- Pint is the most used: 8.9M downloads a month, 40× more than quantities.
- Pint also has the best Pythie’s Index (88).
- Pint is growing fastest: downloads +21% over the last month.
- Safe default for a new project: Pint.
Side by side
| Metric | cf-units | Pint | quantities |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 56 | 88 |