scipy.constants | http://docs.scipy.org/doc/scipy/reference/constants.html | 167385 | 7087 | 181360 | Yes 50 | Yes 400 in CODATA | No | - no unit objects | - no unit objects | - no unit objects | - no unit objects | - no unit objects | - no unit objects | No | No | constants.c == 299792458.0 | Just tables of numerical constants; unit-aware calculations not
supported. scipy.constants.physical_constants specifies units as
strings and uncertainties. Could be used to supply other packages
with coefficients. |
---|
sympy.physics.units | http://docs.sympy.org/dev/modules/physics/units.html | 55424 | 6924 | 18324 | Yes 200? | Yes | - u.mega*u.meter but not u.megameter | No | Yes array([1, 2, 3])*u.m | - converts to sympy | - converts to sympy | | | | | cm = u.m/100 | |
---|
astropy.units | http://docs.astropy.org/en/stable/units/ | 11358 | 2435 | 13777 | Yes | Yes | No | Yes | - | | | | | Yes | Yes | 15.1 * u.meter / (32.0 * u.second) | |
---|
Pint | https://github.com/hgrecco/pint | 35746 | 1128 | 1579 | Yes | Yes | Yes Mm, GV, etc. | Yes array([1,2,3])*ureg.m or ureg.m*array([1,2,3]) | No ValueError | Yes | Yes | Yes built-in | Yes | Yes | No | V = 1*ureg.dm**3 | |
---|
unyt | https://unyt.readthedocs.io/en/stable/ | | 243 | 29 | Yes 101 | Yes 33 | Yes km | | | | | | | | | 4*m + 3*cm - 5*ft + 6*yard | |
---|
Quantities | http://python-quantities.readthedocs.org | 3917 | 147 | 231 | | | | Yes array([1,2,3]) * pq.J | | | | | | No | | | |
---|
Units | https://bitbucket.org/adonohue/units/ | 1376 | | | | | | | | | | | | | | | |
---|
numericalunits | https://pypi.python.org/pypi/numericalunits | 445 | 69 | | | | | | | | | | | | | | Overflow issues, random set of units = not deterministic, need to
do calculations twice to confirm they are being done correctly |
---|
SciMath Units | http://scimath.readthedocs.org/en/latest/units/index.html | 430 | 36 | | | | | | | | | Yes built-in | | | | | |
---|
Buckingham | https://github.com/mdipierro/buckingham | 361 | 20 | 0 | Yes 53 | No | Yes | | | | | | | | | V = Number(1,dims='decimeter^3') | Single file |
---|
Unum | https://bitbucket.org/kiv/unum | 334 | | | | | | | | | | | | | | | |
---|
natu | http://kdavies4.github.io/natu/ | 315 | | | Yes | Yes 40 | Yes | Yes m*array([1, 2, 3]) | Yes array([1, 2, 3])*m | No | No | Yes | No | Yes | Yes | V = 1*dm**3 | weird format for dB, Hz != 1/s, "pre-release state" |
---|
misu | https://github.com/cjrh/misu | 308 | 11 | 0 | | | | | | | | | | | | | |
---|
Magnitude | http://juanreyero.com/open/magnitude/ | 238 | 16 | 31 | Yes | Yes | Yes | | | | | | | | | | |
---|
udunitspy | https://github.com/blazetopher/udunitspy/ | 188 | 2 | 0 | | | | | | | | | | | | | Python wrapper for UDUNITS2 |
---|
DimPy | http://www.inference.phy.cam.ac.uk/db410/ | 0 | | | | | | | | | | | | | | | |
---|
Scalar | http://russp.us/scalar-python.htm | 0 | | | | | | | | | | | | | | | |
---|
ScientificPython PhysicalQuantities | http://dirac.cnrs-orleans.fr/ScientificPython/ScientificPythonManual/Scientific.Physics.PhysicalQuantities-module.html | 0 | | | | | | | | | | | | | | | |
---|