Skip to main content

A CLI tool to convert units.

Project description

UnitConvert

win ubu mac

A CLI tool to convert units!

Have you ever been stuck in a horrible place where $\hbar \neq 1$? Tired of remembering that $50$ mK $\sim 70$ mT $\sim 1$ GHz? I know how it feels, I have been there too! And I can offer the solution to all the problems with this fantasmagorical tool!

To get it, simply

$ pip install electronunitconverter

and then you will be able to type

$ UnitConverter T=10mK
Temperature
10.0 mK
0.2 GHz
0.9 ueV

For those adventuorous, there is also a python interface

from UnitConverter import MagneticField

B = MagneticField(1e-3, "T")

B_in_GHz = B.convert("GHz")

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

electronunitconverter-1.0.0.tar.gz (42.5 kB view hashes)

Uploaded Source

Built Distribution

electronunitconverter-1.0.0-py3-none-any.whl (33.8 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