temp2temp
temp2temp is a temperature conversion package between Celcius, Delisle, Fahrenheit, Kelvin, Rankine, Reaumur, Newton and Romer
Introduction
A complete temperature conversion package for python3. Simply convert from Celcius to example Reaumor or Newton to Kelvin.
Background
I could only find packages that had Celsius to Fahrenheit or Kelvin, which I found a bit lacking as I would not define it as a ‘complete’ package that others may need in the future.
It’s is currently in beta stage as I am now in the process now to properly test and verify the results and if there’s any conversions errors that could happen.
Usage example
Import all temperature conversions
import temp2temp
temp2temp.Celsius.to_kelvin(321)
>>> 594.15
temp2temp.Rankine.to_newton(321)
>>> -31.2895
from temp2temp import *
Celsius.to_kelvin(321)
>>> 594.15
Rankine.to_newton(321)
>>> -31.2895
Import just specific classes
from temp2temp import Celsius, Rankine
temp2temp.Celsius.to_kelvin(321)
>>> 594.15
temp2temp.Rankine.to_newton(321)
>>> -31.2895
Licence
temp2temp is licensed under the MIT licence. See LICENCE.txt for details.
Metadata
Release files for temp2temp 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| temp2temp-1.0.0.tar.gz | 3.2 kB | Without provenance | Details for temp2temp-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| temp2temp-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for temp2temp-1.0.0-py3-none-any.whl |
Total release size: 8.4 kB
Release files / temp2temp-1.0.0.tar.gz
| Download URL | temp2temp-1.0.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51588c966c235952c9597d3a7fb297b16d3c98a9061bd3958fdacb618b523505
|
|
BLAKE2b-256 checksum How to use checksums |
f9304783ef138ed955c7d726089ec9d5f3b16930fa42ce1d6d79031b3eeab1d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / temp2temp-1.0.0-py3-none-any.whl
| Download URL | temp2temp-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ca6dceb241b163f86483e3060744b7f5aec372bd36fe426cc6124f0166d6023
|
|
BLAKE2b-256 checksum How to use checksums |
800a385ee49773f33b0822a0d64e5707952c1552288f654dc2cc4d47287c12c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for temp2temp 1.0.0
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.