A conversion tool. To convert to a reasonable sysem of units (aka. the metric system). Written in python3.
It only converts to metric as other conversions should not be done anyway. Thank you for converting to the metric system.
The amount of supported units is embarrassingly low. New units come when I need them. Or someone suggests them. Here are the currently supported ones.
From | To |
---|---|
F Fahrenheit |
°C Celsius, K Kelvin |
in inch |
mm Millimeter, m Meter |
psi Pounds per squre inch |
kPa Kilopascal, bar Bar |
oz Ounces (mass) |
kg Kilogram |
- Have
python3
installed. - Copy
pycon
to any of your localbin
paths. - Make
pycon
executable. - Convert to the metric system.
pycon [-v] N U
Options:
-v Verbose output
-h, --help Shows this help message
Arguments:
N A number to convert
U The corresponding unit
$ pycon 40 F
4.44 °C
277.59 K