A simple Python package to manipulate units
Project description
ounce
A simple Python package to manipulate units. Fast. Not fancy. No magic. A faster and less fancy counterpart to Pint.
Installation
pip install ounce
Usage
import ounce
value, units = ounce.convert(value, "in", "cm")
Versioning
This library adheres to Semantic Versioning.
Acknowledgements
This was extracted from blmath by Paul Melnikow. blmath itself was extracted from the Body Labs codebase and open-sourced by Alex Weiss.
License
The project is licensed under the two-clause BSD license.
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
ounce-1.0.0.tar.gz
(5.4 kB
view hashes)