scipy.constants | 2020-05-06 18:32:43 | http://docs.scipy.org/doc/scipy/reference/constants.html | 167385 | 7087 | 181360 | 2019-12-19 | 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 | 2020-05-06 18:32:43 | http://docs.sympy.org/dev/modules/physics/units.html | 55424 | 6924 | 18324 | 2020-02-05 | 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 | 2020-05-06 18:32:43 | http://docs.astropy.org/en/stable/units/ | 11358 | 2435 | 13777 | 2020-03-27 | Yes | Yes | No | Yes | - | | | | | Yes | Yes | 15.1 * u.meter / (32.0 * u.second) | |
---|
Pint | 2020-05-06 18:32:43 | https://github.com/hgrecco/pint | 35746 | 1128 | 1579 | 2020-02-19 | 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 | 2020-05-06 18:41:47 | https://unyt.readthedocs.io/en/stable/ | | 243 | 29 | 2020-02-18 | Yes 101 | Yes 33 | Yes km | | | | | | | | | 4*m + 3*cm - 5*ft + 6*yard | |
---|
Quantities | 2020-05-06 18:32:43 | http://python-quantities.readthedocs.org | 3917 | 147 | 231 | 2020-01-08 | | | | Yes array([1,2,3]) * pq.J | | | | | | No | | | |
---|
Units | 2020-05-06 18:32:43 | https://bitbucket.org/adonohue/units/ | 1376 | | | 2017-02-05 | | | | | | | | | | | | | |
---|
numericalunits | 2020-05-06 18:32:43 | https://pypi.python.org/pypi/numericalunits | 445 | 69 | | 2019-11-29 | | | | | | | | | | | | | Overflow issues, random set of units = not deterministic, need to
do calculations twice to confirm they are being done correctly |
---|
SciMath Units | 2020-05-06 18:32:43 | http://scimath.readthedocs.org/en/latest/units/index.html | 430 | 36 | | 2019-02-07 | | | | | | | | Yes built-in | | | | | |
---|
Buckingham | 2020-05-06 18:32:43 | https://github.com/mdipierro/buckingham | 361 | 20 | 0 | 2019-05-25 | Yes 53 | No | Yes | | | | | | | | | V = Number(1,dims='decimeter^3') | Single file |
---|
Unum | 2020-05-06 18:32:43 | https://bitbucket.org/kiv/unum | 334 | | | 2018-03-23 | | | | | | | | | | | | | |
---|
natu | 2020-05-06 18:32:43 | http://kdavies4.github.io/natu/ | 315 | | | 2014-08-08 | 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 | 2020-05-06 18:32:43 | https://github.com/cjrh/misu | 308 | 11 | 0 | 2018-10-20 | | | | | | | | | | | | | |
---|
Magnitude | 2020-05-06 18:32:43 | http://juanreyero.com/open/magnitude/ | 238 | 16 | 31 | 2015-10-20 | Yes | Yes | Yes | | | | | | | | | | |
---|
udunitspy | 2020-05-06 18:32:43 | https://github.com/blazetopher/udunitspy/ | 188 | 2 | 0 | 2013-04-30 | | | | | | | | | | | | | Python wrapper for UDUNITS2 |
---|
DimPy | 2016-03-07 03:52:06 | http://www.inference.phy.cam.ac.uk/db410/ | 0 | | | | | | | | | | | | | | | | |
---|
Scalar | 2016-03-07 03:52:06 | http://russp.us/scalar-python.htm | 0 | | | 2008-03-18 | | | | | | | | | | | | | |
---|
ScientificPython PhysicalQuantities | 2016-03-07 03:52:06 | http://dirac.cnrs-orleans.fr/ScientificPython/ScientificPythonManual/Scientific.Physics.PhysicalQuantities-module.html | 0 | | | | | | | | | | | | | | | | |
---|
More comparisons
Comments
Leave a comment
Register Sign in