Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

temp2temp is a temperature conversion package between Celcius, Delisle, Fahrenheit, Kelvin, Rankine, Reaumur, Newton and Romer

Version on PyPI Licence

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.0b2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for temp2temp 1.0.0b2
File Size Uploaded
temp2temp-1.0.0b2.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for temp2temp 1.0.0b2
File Interpreter ABI Platform
temp2temp-1.0.0b2-py3-none-any.whl Python 3 none any Details

Total release size: 8.4 kB

Release files / temp2temp-1.0.0b2.tar.gz

Download URL temp2temp-1.0.0b2.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
23b055fc7e9e67ecf82ae7b391f5334b84e99049bc4af3ea09a9e8800f94f484
BLAKE2b-256 checksum
How to use checksums
9dfbfe69dcd35b747f7ecf27b22624090002630213dea7da0c6595ed663be112
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / temp2temp-1.0.0b2-py3-none-any.whl

Download URL temp2temp-1.0.0b2-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dbb45c583a76fbd33890c12efcb1860bac7407e7c9a292b6ce1eea03a31d1f8e
BLAKE2b-256 checksum
How to use checksums
b6b283a5f74d24eb449f4d328d6d4ab549cd0e746980d254b1a83298cc5dffcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

1.0.0

2 release files

This release

1.0.0b2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page