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

Uploaded Source

Built Distribution

electronunitconverter-1.1.1-py3-none-any.whl (33.8 kB view details)

Uploaded Python 3

File details

Details for the file electronunitconverter-1.1.1.tar.gz.

File metadata

  • Download URL: electronunitconverter-1.1.1.tar.gz
  • Upload date:
  • Size: 42.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for electronunitconverter-1.1.1.tar.gz
Algorithm Hash digest
SHA256 81cf5fe1841912040817223d96c8d408288ef424da02da4f765d32b76cbdbda0
MD5 ba0c735b58729fd43fafd294a7d5afb0
BLAKE2b-256 5cd6670c40f653eaf27e12a719562b8c6c2ca1782d847fe13fd5e29955d4ba4f

See more details on using hashes here.

File details

Details for the file electronunitconverter-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for electronunitconverter-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a89d772e4b1bcb8cf583326997a2b522a6cd9e973e72cb0bb6416312f001f497
MD5 c03c23c04283fc5e63d175f52adfd251
BLAKE2b-256 0f54277c6b892e77e1dda7295442cc26a278003d20e0418bc856668b1a21ae3a

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