Shorthand for logger initialization, recording worst called loglevel and handling nice console output
Project description
ofunctions
Collection of useful python functions
ofunctions is a set of various recurrent functions amongst
- bisection: bisection algorithm for any function with any number of arguments, works LtoR and RtoL
- checksums: various SHA256 tools for checking and creating checksum files
- delayed_keyboardinterrupt: Just a nifty tool to catch CTRL+C signals
- file_utils:
- json_sanitize: make sure json does not contain unsupported chars, yes I look at you Windows eventlog
- logger_utils: basic no brain console + file log creation
- mailer: send emails regardless of ssl/tls protocols, in batch or as single mail, with attachments
- network: various tools like ping, internet check, MTU probing and public IP discovery
- platform: nothing special here, just check what arch we are running on
- process: simple kill-them-all function to terminate subprocesses
- pw_gen: basic password generator
- service_control: control Windows / Linux service start / stop / status
- string_handling: Remove accents / special chars from strings
Setup
pip install ofunctions.<subpackage>
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
Built Distribution
Close
Hashes for ofunctions.logger_utils-2.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffd2fcf66662c7c413b6b038fd25bbbef03b603e1998bb06b8d092252dab4e00 |
|
MD5 | 5fbb1e5fdb1c21e522eed6afc8e6feea |
|
BLAKE2b-256 | c3c6180f7a45d35960184b788bc4292a01a08f9600d439631f8fc4a3c800ac3a |
Close
Hashes for ofunctions.logger_utils-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 926fae8e2a4b1bcae258364cb9d49deb66a23f70d626b4b516f9c8247f934323 |
|
MD5 | b3149102bd20185823bcbf22ed3b35ca |
|
BLAKE2b-256 | c48543313b9a31b46f1a2cee89abd4ec5a8e144d8920f50c4b510b581b0da75a |