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
Built Distribution
File details
Details for the file tempyrature-1.0.2.tar.gz
.
File metadata
- Download URL: tempyrature-1.0.2.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e25d6cddd967ed0b7b6bcafa1f78ea54a3fccd578e0a22acf0747919f8e2599 |
|
MD5 | 90883e9e0db8d3654b40a4372b963007 |
|
BLAKE2b-256 | 966298ba5a8a7be7907c11aee439530080aa4386f7b82022883d771098ffa3e7 |
File details
Details for the file tempyrature-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: tempyrature-1.0.2-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7922e9c27bdfe19516a7935023cfa1a1af04ae5728db07109da6e8ea39ae17c4 |
|
MD5 | 77a7cac29561647f2fd4e165ec5cd79c |
|
BLAKE2b-256 | dcf83349537761ef124f58071318b7ac758c2c2e00b3237a4322f243e1c4ecd8 |