Skip to main content

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


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

Uploaded Source

Built Distribution

unisci-1.2.0-py3-none-any.whl (58.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for unisci-1.2.0.tar.gz
Algorithm Hash digest
SHA256 71506beebbb7a61aa2ffd8159d6506a551944c939b098c59ed426fc9abf507b3
MD5 b12782dc4723b9611e4b201aef9e0e53
BLAKE2b-256 b156e868cf382e79b04c39c4f7882b3612a2395228e29f0d0c0911f1134c1c05

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unisci-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 58.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 63b8a3b089f537340ef0edf49c112902f02227d739b8ddc6e927a80400eb6eb4
MD5 c8cc078d0685eeb36b15cda82af0cb70
BLAKE2b-256 12877b4659b88a156f04b16bda24dc3e65bfbe61a5033ee73616d21af468ade0

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