tempmorph
1.0.0
Tempmorph는 한 스케일에서 다른 스케일로 온도를 변환하는 데 도움이되는 파이썬 패키지입니다. 이 버전은 현재 Celcius, Fahrenheit, Kelvin, Reaumur 및 Rankine에서 작동합니다.
pip install tempmorph==0.0.1
주목할만한 것 :
1 = celcius
2 = 화씨
3 = 켈빈
4 = Reaumur
5 = Rankine
출력 = float :
from tempmorph . conv import TempConv
# 30 is the value, 1 is Celcius (scale)
temp = TempConv ( 30 , 1 )
# Returns 87.6 (30 Celcius in Fahrenheit)
temp . fahrenheit ()출력 = 문자열 + 기호 :
from tempmorph . conv import TempConv
temp_str = TempConv ( 373 , 3 )
temp_str . celcius ( 1 )
# ^
# By adding one as an argument, output will be '99.85 °C'PYPI 사이트를 열려면 여기를 클릭하십시오