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.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8efca9b9288ca8353bae68a7154f67e2dba5a5dd9a172a3a455073443abd9904 |
|
MD5 | 9e0f5daafb709b18340db5768f1fadb8 |
|
BLAKE2b-256 | c765a1558e1d4875ad43372d1c6c2e5d196b359ce01fa9bc6260ed2909f73806 |
Close
Hashes for ofunctions.service_control-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60e8bc06b2b62fff54ebd7461cfa4f72e17a7673cbd0a26d792412ea06e71045 |
|
MD5 | 76f9a1c7831dd49f51f6a3b8397000e2 |
|
BLAKE2b-256 | e970d8d581246c62e46922a5495e0a04970b6bb565ee8e7f1a054a88d16c6ff0 |