Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mausy5043_common-1.1.1.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mausy5043_common-1.1.1-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file mausy5043_common-1.1.1.tar.gz.

File metadata

  • Download URL: mausy5043_common-1.1.1.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for mausy5043_common-1.1.1.tar.gz
Algorithm Hash digest
SHA256 2802c5a392eb4cf5943515a86623a4783b21258ad3cc61e284a171f71bbf3f72
MD5 c5e2f96f3240a88bff0dda71ba04ca06
BLAKE2b-256 8742ccc375e32269058c47d7697739c0f12356468852b587d89a686f124127cc

See more details on using hashes here.

File details

Details for the file mausy5043_common-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mausy5043_common-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3ce5c448a4dfad3b9c3b0883a75f05d885cb7e857c0d9445281f9fe2e10e1f27
MD5 6a21525d8d5e7160d25f4755260551c8
BLAKE2b-256 b2f69b5fb56467cf03a416f090d51d76290e441e72077b5428975fee6a810280

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page