Lab-aware physical quantity primitive for the chemunited ecosystem (wraps pint with chemistry-domain unit registry).
Project description
chemunited-quantities
Lab-aware physical quantity primitive for the chemunited ecosystem.
Wraps pint with a chemistry-domain unit registry, offset temperature handling (degC aliases), and Pydantic integration via pydantic-pint.
Installation
pip install chemunited-quantities
Usage
from chemunited_quantities import ChemUnitQuantity
q = ChemUnitQuantity("5 ml")
print(q + ChemUnitQuantity("3 ml")) # 8 milliliter
temp = ChemUnitQuantity("25 degC")
print(temp)
License
MIT
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chemunited_quantities-0.0.2.tar.gz.
File metadata
- Download URL: chemunited_quantities-0.0.2.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fe3e69576527940f7ab8062ec58c28f7123b30e66618b1a797c2733d0cb4017
|
|
| MD5 |
66e065d3f217f6778be346d79f40b9db
|
|
| BLAKE2b-256 |
6f603f3cf8232baaea922dd23d46bd1a4d72902a70c417364d816eb9ecec8e63
|
Provenance
The following attestation bundles were made for chemunited_quantities-0.0.2.tar.gz:
Publisher:
publish.yml on automatedchemistry/chemunited-quantities
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chemunited_quantities-0.0.2.tar.gz -
Subject digest:
0fe3e69576527940f7ab8062ec58c28f7123b30e66618b1a797c2733d0cb4017 - Sigstore transparency entry: 1869434507
- Sigstore integration time:
-
Permalink:
automatedchemistry/chemunited-quantities@2d106cbb9a45f324cd1cbaa6204f1fcbfaf9581d -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/automatedchemistry
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2d106cbb9a45f324cd1cbaa6204f1fcbfaf9581d -
Trigger Event:
push
-
Statement type:
File details
Details for the file chemunited_quantities-0.0.2-py3-none-any.whl.
File metadata
- Download URL: chemunited_quantities-0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6d53a89b21aca167c6683a4ee964dabf31f1c7a243954a9fb6d353f11e4bb0b
|
|
| MD5 |
868d67a9faa552015c793c4b3df9a7a1
|
|
| BLAKE2b-256 |
7c883d41be61fe0e661cb02553b7626854e2194bfc28e76bcd95c97720522cb6
|
Provenance
The following attestation bundles were made for chemunited_quantities-0.0.2-py3-none-any.whl:
Publisher:
publish.yml on automatedchemistry/chemunited-quantities
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chemunited_quantities-0.0.2-py3-none-any.whl -
Subject digest:
e6d53a89b21aca167c6683a4ee964dabf31f1c7a243954a9fb6d353f11e4bb0b - Sigstore transparency entry: 1869434597
- Sigstore integration time:
-
Permalink:
automatedchemistry/chemunited-quantities@2d106cbb9a45f324cd1cbaa6204f1fcbfaf9581d -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/automatedchemistry
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2d106cbb9a45f324cd1cbaa6204f1fcbfaf9581d -
Trigger Event:
push
-
Statement type: