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.0a5.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

measurement-4.0a5-py2.py3-none-any.whl (16.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file measurement-4.0a5.tar.gz.

File metadata

  • Download URL: measurement-4.0a5.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for measurement-4.0a5.tar.gz
Algorithm Hash digest
SHA256 c2d597d658fb34f5f124dea0fac6780b18645d84b34a7a104147747463bf2a42
MD5 220033e2d61586e285c1a064f4d8b943
BLAKE2b-256 1abeecb501978d07c470c114542cc65955be6aabc69098907420e8c920c8fa36

See more details on using hashes here.

File details

Details for the file measurement-4.0a5-py2.py3-none-any.whl.

File metadata

  • Download URL: measurement-4.0a5-py2.py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for measurement-4.0a5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c7a48b2b34bca81f5a821114afbacdad355e3ad771804cdab34f724483e07c1e
MD5 fd81d137f494b475b93b889a135698dd
BLAKE2b-256 8fae69482f11ba627e4abbf557870895240897a2e9801efd035a7141d80f0afc

See more details on using hashes here.

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