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.0.tar.gz (1.4 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.0-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fahrencels-0.1.0.tar.gz
  • Upload date:
  • Size: 1.4 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.0.tar.gz
Algorithm Hash digest
SHA256 ca50709805afd57ff98cf19092acc33824ff58b4c7efa360befc3e33ffe6639f
MD5 459af2dd13bf9e188214fd9a2f1346ee
BLAKE2b-256 6de4fe08fc91ed85da3121e122a5155e18804ae6e9e4479349d02078e62bea93

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fahrencels-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b56cd6984cbeb5069d8a9142ff7be8855bfa217253037b6b71c6b314ab3ef193
MD5 9674030260cdcb541a90f5406ee67633
BLAKE2b-256 6206bb996809948531f4d330ce7b2c199b1250e9055ab0191eef54b14ca9cda2

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