Tempyrature is a simple Python module to convert temperature scales easily.
You can see the full documentation here
You can install tempyrature in two main ways:
-
Pypi:
Through the command:
pip install tempyrature
This command may vary depending on your device.
-
Cloning this repository:
If you have GIT installed, you can:
git clone https://github.com/Lobooooooo14/tempyrature.git
This will download this repository to your device, enter the downloaded folder (make sure it is in the same directory as the
setup.py
file) and use the command:pip install .
After you have done the installation, you can use the tempyrature as follows:
from tempyrature import Converter
print(Converter.celsius2fahrenheit(30.5)) #30.5°C
#>>> 86.0