Comparison
cf-units vs Pint vs unyt
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 pintA package for handling numpy arrays with units
Actively maintained. Last release 6 weeks ago, commits in 14 of the last 26 weeks. A safe choice.
$
pip install unytIn short
- Pint is the most used: 9M downloads a month, 66× more than unyt.
- Maintenance is comparable: Pint 88, unyt 81, cf-units 56 on Pythie’s Index.
- unyt is growing fastest: downloads +34% over the last month.
- Safe default for a new project: Pint.