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.11+:
$ 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.13.0
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 | Actions |
|---|---|---|---|---|
| measured-0.13.0.tar.gz | 298.1 kB | With provenance | Details for measured-0.13.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| measured-0.13.0-py3-none-any.whl | Python 3 | none | any | Details for measured-0.13.0-py3-none-any.whl |
Total release size: 377.7 kB
Release files / measured-0.13.0.tar.gz
| Download URL | measured-0.13.0.tar.gz |
|---|---|
| Size | 298.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2fa422e424c905ff72aeba423f1a3e47bd70dd66db1fa64d313e8c7cd96fd310
|
|
BLAKE2b-256 checksum How to use checksums |
98f9bd30319c6c938c9625fb548582e33cf056bc71def77dcdd92cdcf2bc3387
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logRelease files / measured-0.13.0-py3-none-any.whl
| Download URL | measured-0.13.0-py3-none-any.whl |
|---|---|
| Size | 79.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e01abdbfbaef39793143fdcaade77cad432c87185a1cfa814dc9b6cb9911e72d
|
|
BLAKE2b-256 checksum How to use checksums |
5a900a67f480dccd838eb761be06ea4eeb0697975ae75967ce407f0392a96269
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logSecurity for measured 0.13.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for measured-0.13.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logA 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.