All Projects → coddingtonbear → python-measurement

coddingtonbear / python-measurement

Licence: MIT license
Use and manipulate unit-aware measurement objects in Python

Programming Languages

python
139335 projects - #7 most used programming language

Python measurement

High precision unit-aware measurement objects in Python.

>>> from measurement import measures
>>> measures.Distance("12 megaparsec")["British yard"]
Decimal('404948208659679393828910.8771')

This package provides a large reference collection of various measure and their corresponding SI (Metric), US or Imperial units. Its high precision supports use cases all the way from quantum mechanics to astrophysics.

  • Documentation for python-measurement is available an ReadTheDocs.
  • Please post issues on Github.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].