A simple temperature converter.
Project description
Tempyrature
Tempyrature is a simple Python module to convert temperature scales easily.
Scales
Tempyrature currently supports 3 temperature ranges:
- Celcius
- Fahrenheit
- Kelvin
Installation
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 .
How to use
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
Documentation
You can see the full documentation here
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tempyrature-1.0.1.tar.gz
(6.6 kB
view hashes)
Built Distribution
Close
Hashes for tempyrature-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f2d603427dc093a6105623c2ba227076221ae1496b7ebf23c1231a18713a6ff |
|
MD5 | 4e66663ceb80042f0df7b34bc3cb2be9 |
|
BLAKE2b-256 | b8648100ff738b2be4e674ac2af387d9368d2914f47d30f6c5aa5a4496b325f3 |