Skip to main content

A simple Python module for converting temperatures between Celsius and Fahrenheit.

Project description

FahrenCels

A simple Python module for converting temperatures between Celsius and Fahrenheit.

Features

  • celsius_to_fahrenheit(c) – Convert Celsius to Fahrenheit
  • fahrenheit_to_celsius(f) – Convert Fahrenheit to Celsius

Example

from FahrenCels import celsius_to_fahrenheit, fahrenheit_to_celsius

print(celsius_to_fahrenheit(0))    # 32.0
print(fahrenheit_to_celsius(98.6)) # 37.0

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

fahrencels-0.1.1.tar.gz (1.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fahrencels-0.1.1-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

Details for the file fahrencels-0.1.1.tar.gz.

File metadata

  • Download URL: fahrencels-0.1.1.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for fahrencels-0.1.1.tar.gz
Algorithm Hash digest
SHA256 341cdd0d9ddbe93b79cc42bfa29ae6f083ccf4a16060573bffeb5ddfdfd88cc8
MD5 86c6bda33b7ae5c21bb986759da7f1c9
BLAKE2b-256 8b13fdf289e5cc18c96718b3e0fcd4ad28a59aa26a9cba817a098e3d47fa549d

See more details on using hashes here.

File details

Details for the file fahrencels-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: fahrencels-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for fahrencels-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 67451ea3b8e1346918f188ec8f5165ee850d7fb0bcb487b4ef4b03b569ce7d99
MD5 f58452a07a45d81f2b8be58b77734afd
BLAKE2b-256 3c5659c954dd121b539790a37c35778ec11c6dedc54e44822bad5093d3a934ee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page