Dimensional analysis and unit conversion library
Project description
dimAns
Dimensional analysis and unit conversion library
Installation
pip install --upgrade dimans
If you want to use the calculator, you will need to install the "cli" extra to install some additional dependencies:
pip install --upgrade dimans[cli]
If you are using a Linux distribution like Arch that disallows installing
packages using pip, you will need to use a tool such as pipx
:
pipx install --upgrade dimans[cli]
Usage
>>> from dimans.units import gram, kilogram, metre
>>> (32_000 * gram).to(kilogram)
<Quantity 32.0 kg>
Calculator
dimans
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
dimans-0.0.24.tar.gz
(79.5 kB
view details)
Built Distribution
dimans-0.0.24-py3-none-any.whl
(50.6 kB
view details)
File details
Details for the file dimans-0.0.24.tar.gz
.
File metadata
- Download URL: dimans-0.0.24.tar.gz
- Upload date:
- Size: 79.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97a54fa2ac23575b0db0c09f8f13e7b77eebefc6ba09734d7e3bd7d6b20b01cd |
|
MD5 | dd00ace6e4462cd6424d3bce0bee8eab |
|
BLAKE2b-256 | 9cfceafa3855ad14e7c53e2894b7b2b2c36940785e0d55f22036537f967915e3 |
File details
Details for the file dimans-0.0.24-py3-none-any.whl
.
File metadata
- Download URL: dimans-0.0.24-py3-none-any.whl
- Upload date:
- Size: 50.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbac1a7ce5677a52d3ed284006f3394741930a9f500edc8b7e7c199f4ff5a08e |
|
MD5 | 8fde96cf19103053ad07c491f809490f |
|
BLAKE2b-256 | cac7040de2010cb2cf61fbe0c4868a20a7335dc31210c655757b3721dce24f01 |