Common python functions
Project description
mausy5043-common
Provides various Python3 functions and classes for personal use.
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.
Available commands for package building
./build --build
builds the distribution files
./build --dist
uploads the distribution files to PyPi
./build --test
uploads the dictribution files to TestPyPi
./build --update
discards all changes to the local copy of the repo and pulls the current state of the repo from GitHub.
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.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ce5c448a4dfad3b9c3b0883a75f05d885cb7e857c0d9445281f9fe2e10e1f27 |
|
MD5 | 6a21525d8d5e7160d25f4755260551c8 |
|
BLAKE2b-256 | b2f69b5fb56467cf03a416f090d51d76290e441e72077b5428975fee6a810280 |