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.3.0.tar.gz (57.1 kB view details)

Uploaded Source

Built Distribution

unisci-1.3.0-py3-none-any.whl (59.1 kB view details)

Uploaded Python 3

File details

Details for the file unisci-1.3.0.tar.gz.

File metadata

  • Download URL: unisci-1.3.0.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

Hashes for unisci-1.3.0.tar.gz
Algorithm Hash digest
SHA256 e7984c407874b68d22179bf9772f90c7376c0c2b679090471d7bb64a49c68f45
MD5 3d416083e34499630b8bbbb44e1f90f2
BLAKE2b-256 6cf8991f71af772763dd16b6429e92f7bc06b7408c5fa1558613e11b3232e417

See more details on using hashes here.

File details

Details for the file unisci-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: unisci-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 59.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for unisci-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 111b9e571bdc94b71c70b25d16edd9bff4e53f7116b1255b9ebe7090d4112473
MD5 1ac10c0936b8c17f86b03f2525d6f257
BLAKE2b-256 ec72de01e9a75f7c1fb5de1868104e4ba5542887d5f64f2fa70ecc1bd9d73fbc

See more details on using hashes here.

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