Comparison
ansys-units vs cf-units vs unyt
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Pythonic interface for units, unit systems, and unit conversions.
Actively maintained. Last release 4 weeks ago, commits in 11 of the last 26 weeks. A safe choice.
$
pip install ansys-unitsUnits of measure as required by the Climate and Forecast (CF) metadata conventions
Maintained. Last release 11 months ago, commits in 8 of the last 26 weeks. Weaker on release cadence.
$
pip install cf-unitsA package for handling numpy arrays with units
Actively maintained. Last release 6 weeks ago, commits in 15 of the last 26 weeks. A safe choice.
$
pip install unytIn short
- unyt is the most used: 138.5K downloads a month.
- Maintenance is comparable: ansys-units 88, unyt 80, cf-units 60 on Pythie’s Index.
- ansys-units is growing fastest: downloads +42% over the last month.
- Safe default for a new project: unyt.
Side by side
| Metric | ansys-units | cf-units | unyt |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 88 | 60 |