Skip to main content

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


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 details)

Uploaded Source

Built Distribution

pytemperature-1.1-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file pytemperature-1.1.tar.gz.

File metadata

  • Download URL: pytemperature-1.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pytemperature-1.1.tar.gz
Algorithm Hash digest
SHA256 72f96281e8576c8b72b37a603a81b6818c6e23ed61350fff5eec25f3b59ae4fa
MD5 42f84fd6c46862f0b3871f3114271d36
BLAKE2b-256 2f74d83f02be7290b90657fc34b5835feaccf993d9dd9831ca0471fe63096264

See more details on using hashes here.

File details

Details for the file pytemperature-1.1-py3-none-any.whl.

File metadata

  • Download URL: pytemperature-1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pytemperature-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 47eb70675685f56cab2d5401510dc3d98584c8d955b575ae16914b21b20d5e03
MD5 7b4bca71dc8eae3b08b89b7a0f4ffdef
BLAKE2b-256 b03120de6e4c7d23d368276be8e43a23a81922ba847d31c73d743054cf14c45b

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