A Pythonic interface for units, unit systems, and unit conversions within the Ansys ecosystem. Current version 0.12.0 supports Python 3.10-3.14. The library follows semantic versioning with regular releases.
pip install ansys-unitsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage of Quantity for unit conversions and arithmetic.
Use parentheses or explicit conversion with .to() before arithmetic.
Change import to 'from ansys.units import Quantity'.
Use positional argument: Quantity(10.0, 'm') instead of Quantity(10.0, units='m').
Upgrade to >=0.10 and use 'from ansys.units import Quantity'.
Use 'm*s^-1' or 'meter/second' (check set_units).
No dependency data recorded yet.