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

Uploaded Source

Built Distribution

unisci-1.4.2-py3-none-any.whl (62.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: unisci-1.4.2.tar.gz
  • Upload date:
  • Size: 58.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for unisci-1.4.2.tar.gz
Algorithm Hash digest
SHA256 c70b25cba0cb50ce638eef41957f801467388a0c893d82df1b6913d16b58dca3
MD5 09aa40cdf979d5e6d6543f8daa1bdb8f
BLAKE2b-256 56baefcf3591e883b88787a0321e97adad3502d499b6f1f5e32600979aeae00b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unisci-1.4.2-py3-none-any.whl
  • Upload date:
  • Size: 62.0 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.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ab649831cdb7b3e99057402508696de70f4cdb2ab7031381bb8b61989b4db255
MD5 d6442153d80710e13c9ba325aee5ead9
BLAKE2b-256 fe8a18efcb522522ecbe8c6cf5e5792e56928dbf039887d76a411a8d5f282ace

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