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

Uploaded Source

Built Distribution

unisci-1.4.7-py3-none-any.whl (62.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: unisci-1.4.7.tar.gz
  • Upload date:
  • Size: 58.7 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.7.tar.gz
Algorithm Hash digest
SHA256 0d005365f60d026fabb91d108728f9e8a5a74c9020886fc457bcba53dcd88858
MD5 48c43744e2fff4e993d98bac531229c3
BLAKE2b-256 523d4c209d6776cdefe29f2ba9c8eb562328d5e23b51bac8f3235ed4b1de46c6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unisci-1.4.7-py3-none-any.whl
  • Upload date:
  • Size: 62.2 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 189cb3add2658f1177da7b9b10eb37a5bba5bf1d4d41a1d6207c737a0d50ccfb
MD5 db47a86674c568d54c8102dcb9a2d336
BLAKE2b-256 ff76b708bfae39ccd464285a553a0ff9ee797514dece57c16e8acb7e0dd8c8c2

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