Description
this is a python module to convert temperatures from one unit to another
Installation
pip install pytemp
Usage
from pytemp import pytemp
convert from 40 degree kelvin to fahrenheit and back
fahrenheit = pytemp(40,'kelvin', 'fahrenheit') ========> -387.66999999999996
f = pytemp(40,'k', 'f') ========> -387.66999999999996
kelvin = pytemp(f,'fahrenheit','kelvin') ========> 40.0
k = pytemp(f,'f','k') ========> 40.0
convert from 40 degree celsius to fahrenheit and back
fahrenheit = pytemp(40,'celsius', 'fahrenheit') ========> 104.0
f = pytemp(40,'c', 'f') ========> 104.0
celsius = pytemp(f,'fahrenheit','celsius') ========> 40.0
c = pytemp(f,'f','c') ========> 40.0
convert from 40 degree kelvin to celsius and back
celsius = pytemp(40,'kelvin', 'celsius') ========> -233.14999999999998
c = pytemp(40,'k', 'c') ========> -233.14999999999998
kelvin = pytemp(c,'celsius','kelvin') ========> 40.0
k = pytemp(c,'c','k') ========> 40.0
Metadata
Release files for pytemp 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytemp-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / pytemp-0.0.1-py3-none-any.whl
| Download URL | pytemp-0.0.1-py3-none-any.whl |
|---|---|
| Size | 2.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
36ce46095c942a48765533e2c076aeb37baf73b54577bbc6991f2599612d1cc4
|
|
BLAKE2b-256 checksum How to use checksums |
b25348c1419c2924ddc19f5313ac66a855d10f4ade6e87e7c7b89fef5c113bf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
|
Security for pytemp 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.