Skip to content

mausy5043-common-python made available via PyPi. Mainly for private use, so don't expect too much.

License

Notifications You must be signed in to change notification settings

Mausy5043/mausy5043-common

Repository files navigation

License PyPI version Supported Python versions PyPI downloads Code style: Black pre-commit.ci status

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 are not supported.

Installation

python3 -m pip install mausy5043-common

Functions provided

cat(filename) : Read a file into a variable. syslog_trace(trace, logerr, out2console) : Log messages to console and/or system log. 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.

About

mausy5043-common-python made available via PyPi. Mainly for private use, so don't expect too much.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •