Introduction

ToTemp as an high-level OO Python package, aims to provide an easy and intuitive way to represent temperature scales and convert/operate over them with precise/aproximated values.

In essence, this package is made for research and academic porpuses, since I (Edson) haven’t found any “good, interesting and functional” enough package to work with temperature scales.

Note

For usage information and example code, go to Installation and Usage.

The goal here was to define dynamic objects which would allow users/developers to perform the operations with ease and precision, without worrying about the calculations needed to convert temperature scales, providing them the option to get precise and rounded values to their operations.

The current implementation has been developed for Python ^3.10 (since it uses new syntax and features available in those releases).

Limitations

As my main use-case scenario was to operate over diverse temperature scales, the current version of ToTemp has been designed to support operations between these Classes:

And all those classes inherits from the Base Class.