measured
measured is a library for measurements and quantities.
>>> from measured import Speed
>>> from measured.si import Meter, Second
>>> distance = 10 * Meter
>>> time = 2 * Second
>>> speed = distance / time
>>> assert speed == 5 * Meter / Second
>>> assert speed.unit is Meter / Second
>>> assert speed.unit.dimension is Speed
The goal of measured is to provide a sound foundation for recording and converting
physical quantities, while maintaining the integrity of their units and dimensions.
While it aims to be the fastest library of its kind, automatically tracking the units
and dimensions of quantities introduces significant overhead. You can use measured
for applications where the accuracy of the units is more important than raw numerical
computing speed.
measured is licenced under the MIT Licence.
Installing
measured is available on PyPi, and is tested with
with Python and PyPy 3.8+:
$ pip install measured
Reference
The documentation for measured is on Read the
Docs.
Contributing
Contributions are welcome! Please report bug and submit pull requests to https://github.com/chrisguidry/measured.
Metadata
Release files for measured 0.12.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| measured-0.12.2.tar.gz | 108.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| measured-0.12.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 183.0 kB
Release files / measured-0.12.2.tar.gz
| Download URL | measured-0.12.2.tar.gz |
|---|---|
| Size | 108.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ab53b7f884c38f31eb22ff90c3dc7f11d333c745a4ba4be9947f1e520a1b2c8
|
|
BLAKE2b-256 checksum How to use checksums |
d2d46c3caef53736877871fab86eefbd6574ab2b3122e650289f36b3e7be6f8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / measured-0.12.2-py3-none-any.whl
| Download URL | measured-0.12.2-py3-none-any.whl |
|---|---|
| Size | 74.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4e9bdb3c720e71c80d65bf2e95fd2305a686b5bfeed2c7410c898b95dbee0a1f
|
|
BLAKE2b-256 checksum How to use checksums |
00894812510322a1775cfbda29d52d6bc1bb762d879eb48b6c5f457cafffab41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Security for measured 0.12.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.