Metadata-Version: 2.4
Name: chemunited-quantities
Version: 0.0.2
Summary: Lab-aware physical quantity primitive for the chemunited ecosystem (wraps pint with chemistry-domain unit registry).
Author-email: Samuel Vitor Saraiva <samuel.saraiva@mpikg.mpg.de>
License: MIT License
        
        Copyright (c) 2026 Automated Chemistry @ Max Plank Institute of Colloids and Interfaces
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: automation,chemistry,laboratory,pint,units
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Chemistry
Requires-Python: >=3.11
Requires-Dist: pint>=0.23
Requires-Dist: pydantic-pint>=0.3
Requires-Dist: pydantic>=2.0
Provides-Extra: dev
Requires-Dist: black>=25.1.0; extra == 'dev'
Requires-Dist: mypy>=1.19.1; extra == 'dev'
Requires-Dist: pre-commit>=4.0; extra == 'dev'
Requires-Dist: pytest-cov>=5.0; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: ruff>=0.11.2; extra == 'dev'
Description-Content-Type: text/markdown

# chemunited-quantities

Lab-aware physical quantity primitive for the chemunited ecosystem.

Wraps [pint](https://pint.readthedocs.io/) with a chemistry-domain unit registry,
offset temperature handling (degC aliases), and Pydantic integration via
[pydantic-pint](https://github.com/tylerteichmann/pydantic-pint).

## Installation

```bash
pip install chemunited-quantities
```

## Usage

```python
from chemunited_quantities import ChemUnitQuantity

q = ChemUnitQuantity("5 ml")
print(q + ChemUnitQuantity("3 ml"))  # 8 milliliter

temp = ChemUnitQuantity("25 degC")
print(temp)
```

## License

MIT
