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.
Project details
Release history Release notifications | RSS feed
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.0a6.tar.gz
(13.3 kB
view details)
Built Distribution
File details
Details for the file measurement-4.0a6.tar.gz
.
File metadata
- Download URL: measurement-4.0a6.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96cc6df3863635e198f783fc2dca876ad763d94bcc2a62d7bb86dcd76b52af34 |
|
MD5 | e0a01975a2c8747f4b3c382f54dc13e6 |
|
BLAKE2b-256 | 9211367e3f4c35eeaecfeeea587e2c4304388004e52aac790a5f83a71a0d5840 |
File details
Details for the file measurement-4.0a6-py2.py3-none-any.whl
.
File metadata
- Download URL: measurement-4.0a6-py2.py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe8bc9d6d69f0e6e0be8548451dd9a12e28e2a8eae28a4a318f0fa0b70e4ef47 |
|
MD5 | 5d3c340ace5aa00450cae7ab531ea12d |
|
BLAKE2b-256 | 90a4b32e007100da9a8cc55a6cdc6fe91c58398731e186d9488a84c731548649 |