Toolset with various file logging / network / checksumming / process functions
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
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
ofunctions-2.0.2.tar.gz
(22.3 kB
view hashes)
Built Distribution
ofunctions-2.0.2-py3-none-any.whl
(29.2 kB
view hashes)
Close
Hashes for ofunctions-2.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f5de90f1b2ca6bf87feb5c1a08394a649a969fbd778df3a9113c6acf6b6e83a |
|
MD5 | 57df14d159732f8e319076b473ebf6c6 |
|
BLAKE2b-256 | d33dce3a5e273bc82eef00c132f3fa17624393b48e4ad8d07d468bb8ccad33e0 |