Skip to content

Use and manipulate unit-aware measurement objects in Python

License

Notifications You must be signed in to change notification settings

earthobservations/python-measurement

 
 

Repository files navigation

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.

About

Use and manipulate unit-aware measurement objects in Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%