Skip to main content

Easily use and manipulate unit-aware measurements in Python

Project description

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

measurement-4.0a7.tar.gz (13.3 kB view hashes)

Uploaded Source

Built Distribution

measurement-4.0a7-py2.py3-none-any.whl (17.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page