scinumtools.units
Likes 0
Name | scinumtools.units |
---|---|
Website | github.com/... |
PyPI DLs/month | 471 |
GitHub Stars | 5 |
Used by | |
Built-in units | Yes |
Built-in constants | Yes |
Arbitrary prefixes | Yes |
np scalar array | Yes |
np object array | Yes |
Decimal | Yes |
Fraction | Yes |
Uncertainties | Yes |
string | Yes |
absolute °C | Yes K, Cel, degF, degR |
dB | Yes dB, Np, dBm, dBmW, ... (both B and dB) |
Syntax | quant(3, 'J').to('kg*m2/s2') quant([5.9e-4, 5.2e+5], 'J*s-1').to('W') 33*unit('kg'), const('c') 3*unit.m/unit.s |
Comments | No registries needed like for Pint. Documentation is available here: github.io/... |
User reviews and comments