Units Conversions, and Science Package
Project description
UniSci
A module to perform unit conversions for almost any scientific topic! This package is available on PyPI here.
Why Use This?
Short for "Unit Science", UniSci is primarilty focused on being able to use any unit and easily convert it to another. It supports automatic conversions for formulas, condensation of complex units like kg-m/s²
to N
, and more!
Installation
To install, simply run the following:
$ pip install unisci
Then, you can use it as you please!
>>> from unisci import Quantity
>>> length = Quantity(1, {'m': 1})
>>> print(length.converted(['ft']))
3.281*10⁰ ft
Use Cases
See some use cases in the use_cases.ipynb
notebook, here.
Documentation
Full documentation can be found on the readthedocs site for the module.
Contribution
For adding conversions, formulas, or more, pull requests are greatly appreciated. Feel free to message me on my email singhvi.vivaan@gmail.com if you have any concerns!
License
This project is released under the MIT 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
Built Distribution
File details
Details for the file unisci-1.3.1.tar.gz
.
File metadata
- Download URL: unisci-1.3.1.tar.gz
- Upload date:
- Size: 57.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e838af88c5fa03d0e33e6468268bd7c1468a3603d947af8c00b2d409d073a71a |
|
MD5 | 0d2cb3e00d2898e82fe986f1608a4441 |
|
BLAKE2b-256 | cb7ca124076b7c19b491f89de98ed4f3fac07365f1de81d8e73e9f74a3d53e61 |
File details
Details for the file unisci-1.3.1-py3-none-any.whl
.
File metadata
- Download URL: unisci-1.3.1-py3-none-any.whl
- Upload date:
- Size: 59.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc5619a088196a8865f17360c58069cce906ada910653ca63bafcd81cdcbbfcd |
|
MD5 | 0284dc798100bd620c6278957b66c670 |
|
BLAKE2b-256 | 3755437f19b7263dfd69fd55ccb2bef597706c3e870b75ad0b2bbc788bd72d99 |