Comparison
ansys-units vs cf-units vs quantities
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 10 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 10 months ago, commits in 6 of the last 26 weeks. Weaker on release cadence.
$
pip install cf-unitsSupport 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 quantitiesIn short
- quantities is the most used: 229.4K downloads a month, 2.1× more than ansys-units.
- ansys-units is better maintained: Pythie’s Index 86 against 64.
- ansys-units is growing fastest: downloads +32% over the last month.
- Safe default for a new project: quantities, or ansys-units if active maintenance matters most.
Side by side
| Metric | ansys-units | cf-units | quantities |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 86 | 56 |