Skip to main content

Units Conversions, and Science Package

Project description

UniSci

PyPi Version

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unisci-1.7.0.tar.gz (59.1 kB view hashes)

Uploaded Source

Built Distribution

unisci-1.7.0-py3-none-any.whl (62.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page