Common python functions
Project description
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.
Installation
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
GracefulKiller
: A simple version of this one.
SqlDatabase
: A class to interact with SQLite3 databases.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for mausy5043_common-1.4.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de9ddd1bb8005dcc7a8e93c39290c81bfaa45b7489db32d54987b6048aa1f462 |
|
MD5 | 691cb9ebae77a0a970b135c5ad0f3803 |
|
BLAKE2b-256 | e2d2501b067242141f468e7d05f8e5a08dcd02532102ee680bd5d6288bd57e0f |