Initial SysML v2 Python Units library release:
- Get/set quantity as
attributevalue, specified using PintQuantityobjects - Get/set unit as
attributevalue, specified using PintUnitobjects - Supports numerical values/magnitudes, as well as
inf(*in SysML v2) andNaN(set asnullin SysML v2) - Conversion functions between SysML v2 units and Pint
Unit, and string parsing functions - Derive preferred units for a quantity type, for example
kgfor anISQ::massquantity - Syside Automator
ReferencePrinterfor
printing unit references using their short name - Extensive caching to make units lookup fast