Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chemunited_quantities-0.0.4.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chemunited_quantities-0.0.4-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file chemunited_quantities-0.0.4.tar.gz.

File metadata

  • Download URL: chemunited_quantities-0.0.4.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for chemunited_quantities-0.0.4.tar.gz
Algorithm Hash digest
SHA256 47680de7fb2eba25ee53e33e84c3cc2fde2a32c97afe5a5a600fe3e041725535
MD5 cc90297f246825640c22d6c7221d220c
BLAKE2b-256 2ff8c135859e9031822d4cd9b4025db728a6d689081b427874af6a9f6a797794

See more details on using hashes here.

Provenance

The following attestation bundles were made for chemunited_quantities-0.0.4.tar.gz:

Publisher: publish.yml on automatedchemistry/chemunited-quantities

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chemunited_quantities-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for chemunited_quantities-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8afee3055a9ef0a0797c26c4a1ef460578ed2b2fcb81a628b72ad61240b9e826
MD5 e8bd1b2bf084766c20ae0b7d867f833f
BLAKE2b-256 f6799ad1cd9021fc67ba428e212be5a4e36dc7cf2fd611e7307c9e2bc1ce3acd

See more details on using hashes here.

Provenance

The following attestation bundles were made for chemunited_quantities-0.0.4-py3-none-any.whl:

Publisher: publish.yml on automatedchemistry/chemunited-quantities

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 files

0.0.3

2 files

0.0.2

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page