Units of Measure
Project description
Units of Measure
as defined in Unit of Measurement.
- Python library:
units-of-measure
- Python package:
unitsofmeasure
Objective
- Relate units of measurement to the International System of Units (SI) to define their dimension and magnitude.
- Relate arbitrary objects to units.
Motivation
First, I used the library forallpeople
, but that ran into issues with large scales like megatonnes and gigatonnes.
Based on my objectives I decided to create a new library that does exactly that and does not deal with quantities (yet).
Get Started
To start from the beginning, open the Jupyter notebook start_here.ipynb
.
This library does not require the package jupyter
, neither at buildtime nor at runtime. Therefore this library does not declare jupyter
as dependency.
Download and install the library with python -m pip install units-of-measure
.
Develop
- Clone with
git clone https://github.com/gerald-scharitzer/units-of-measure.git
- Test with
pytest
- Build with
python -m build
- Check with
python -m twine check dist/*
- Publish with
python -m twine upload dist/*
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
Close
Hashes for units-of-measure-0.0.1.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a3da25767a5b72ed3ab0d98e8a88247ea4f7c8d34300c38d52f5e82c0426c1c |
|
MD5 | 96302c4a655f90ef580778e5d09fb7ce |
|
BLAKE2b-256 | f6fd43c2f64116d162762df4d42af5f175f33ace41e367bf60343e6499b40ce4 |
Close
Hashes for units_of_measure-0.0.1.dev1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3409012066418be1af00ced65497c035c18261e34447d218816692efec9be68a |
|
MD5 | 9bb73ff68ea5e5e2de05ee9dd3df888b |
|
BLAKE2b-256 | 43b46ff36131a27914e7bbf10a718e86812738b320b53aba952de8b3a02d0964 |