Scale of temperature
Project description
pytemperature
A module that helps to convert temperature units.
Examples of usage
>>> import pytemperature
>>> pytemperature.c2f(37.78) # Celsius to Fahrenheit
100.0
>>> pytemperature.f2c(104) # Fahrenheit to Celsius
40.0
>>> pytemperature.c2k(40) # Celsius to Kelvin
313.15
>>> pytemperature.k2c(273.15) # Kelvin to Celsius
0.0
>>> pytemperature.k2f(273.15) # Kelvin to Fahrenheit
31.98
>>> pytemperature.f2k(100) # Fahrenheit to Kelvin
310.93
>>> pytemperature.r2c(80) # Romoe to Celsius
100.0
>>> pytemperature.c2r(100) # Celsius to Romoe
80.0
>>> pytemperature.r2k(80) #Romoe to Kelvin
373.15
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pytemperature-1.1.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for pytemperature-1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47eb70675685f56cab2d5401510dc3d98584c8d955b575ae16914b21b20d5e03 |
|
MD5 | 7b4bca71dc8eae3b08b89b7a0f4ffdef |
|
BLAKE2b-256 | b03120de6e4c7d23d368276be8e43a23a81922ba847d31c73d743054cf14c45b |