Skip to main content

No project description provided

Project description

Temperature Converter

temperature_converter_py is a simple temperature converter.

Install

  • pip install temperature-converter-py

Import

import temperature_converter_py

Functions

  • celsius_to_fahrenheit(temp_in_celsius): Receives a float value in Celsius and returns in Fahrenheit.

  • fahrenheit_to_celsius(temp_in_fahrenheit): Receives a float value in Fahrenheit and returns in Celsius.

  • celsius_to_kelvin(temp_in_celsius): Receives a float value in Celsius and returns in Kelvin.

  • kelvin_to_celsius(temp_in_kelvin): Receives a float value in Kelvin and returns in Celsius.

  • fahrenheit_to_kelvin(temp_in_fahrenheit): Receives a float value in Fahrenheit and returns in Kelvin.

  • kelvin_to_fahrenheit(temp_in_kelvin): Receives a float value in Kelvin and returns in Fahrenheit.

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

temperature_converter_py-1.0.2.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

temperature_converter_py-1.0.2-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

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