Windows & Linux service control 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
- csv: CSV file reader with various enhancements over generic reader
- delayed_keyboardinterrupt: just a nifty tool to catch CTRL+C signals
- file_utils: file handling functions of which get_files_recursive is the most advanced
- 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
- random: basic random string & password generator
- service_control: control Windows / Linux service start / stop / status
- string_handling: remove accents / special chars from strings
- threading: threading decorator for functions
It is compatible with Python 3.5+ and is tested on both Linux and Windows.
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.service_control-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e837f6b78a06b271be67b409b4d130b4a2122430c093397283cf59aa0394071f |
|
MD5 | ad4c1e8b5c9cf2c95e83a483dbeb2385 |
|
BLAKE2b-256 | 17bbe636bc2ec5e7d0a30a6247788289eb650d684785b09d2b189abd8783718e |
Close
Hashes for ofunctions.service_control-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a5338f02f4a42b49d6217fd8fb9372ac7636b461c65889c014b106360c8a983 |
|
MD5 | 790a26271aec14744f89f68416632c36 |
|
BLAKE2b-256 | 86d685708c05cca9d9968f5fca29d1a7d72c4a5fe3dd62f440d7659732492f73 |