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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: measurement-4.0a4.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/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for measurement-4.0a4.tar.gz
Algorithm Hash digest
SHA256 b12440204a23d019e9ab57b431782b4c0ee8b351ea31b698294c4bd05bee3462
MD5 70ebccd38d033050477b0beb2195270d
BLAKE2b-256 308eb29a6a4e6611e2b6b7d98e45a777968abc87d2f875e16d1474bc2f2396c6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: measurement-4.0a4-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/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for measurement-4.0a4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ae30f7ff8e7bad0cc6fbd5d8315f9616f8f032fa0491613da29dcdb838ee28b8
MD5 4f643a584ba0c11e66a0401990480e4f
BLAKE2b-256 8c9458d4d90ca2fa4e82a62c16155566f45d731feef35bc6b47258a2dbf6c873

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