Metadata-Version: 2.4
Name: mausy5043-common
Version: 2.4.3
Summary: Common python functions
Project-URL: Homepage, https://github.com/Mausy5043/mausy5043-common
Project-URL: Bug Tracker, https://github.com/Mausy5043/mausy5043-common/issues
Author: Mausy5043
License-Expression: MIT
License-File: LICENSE
Keywords: Debian Linux,Raspberry Pi,private
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.12
Requires-Dist: numpy~=2.2
Requires-Dist: pandas~=2.2
Requires-Dist: pyarrow~=19.0
Requires-Dist: python-homewizard-energy==9.0.0
Requires-Dist: sessypy==0.1.14
Requires-Dist: zeroconf~=0.146
Description-Content-Type: text/markdown


[![License](https://img.shields.io/github/license/mausy5043/mausy5043-common)](LICENSE)
[![PyPI version](https://img.shields.io/pypi/v/mausy5043-common.svg?logo=pypi&logoColor=FFE873)](https://pypi.org/project/mausy5043-common)
[![Supported Python versions](https://img.shields.io/pypi/pyversions/mausy5043-common.svg?logo=python&logoColor=FFE873)](https://pypi.org/project/mausy5043-common)
[![PyPI downloads](https://img.shields.io/pypi/dm/mausy5043-common.svg)](https://pypistats.org/packages/mausy5043-common)
[![Code style: Black](https://img.shields.io/badge/code%20style-Black-000000.svg)](https://github.com/psf/black)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/Mausy5043/mausy5043-common/devel.svg)](https://results.pre-commit.ci/latest/github/Mausy5043/mausy5043-common/devel)

# mausy5043-common

This is a Python3 library of functions and classes, mainly for personal use.

## Requirements

**NOTE: user action required !!**
Before trying to use the SQLITE3 functions in this package make sure you have installed the sqlite3 server/client and
the default Python package that comes with it.

Development of this package is done in Python 3.12. Backwards compatibility is not tested; if it works on Python 3.7 or before consider yourself lucky. [Python versions that are end-of-life](https://devguide.python.org/versions/) are not supported.

## Installation

```
python3 -m pip install mausy5043-common
```


## Functions provided
`cat(filename)` : Read a file into a variable.
`moisture(temperature, relative_humidity, pressure)` : Calculate the moisture content of air given T [degC], RH [%] and P [hPa].
`wet_bulb_temperature(temperature, relative_humidity)` : Calculate the wet bulb temperature of the air given T [degC] and RH [%].

## Classes provided
`SqlDatabase` : A class to interact with SQLite3 databases.

## Disclaimer & License
As of September 2024 `mausy5043-common` is distributed under [AGPL-3.0-or-later](LICENSE).
