Threading decorator to run functions as threads
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.threading-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f049a59f29bab4bebf6be8b4987e14acc605154257a66de8dd6bf11896ebcbcd |
|
MD5 | fe4d374c222b32aff1e168583201a7a9 |
|
BLAKE2b-256 | a8c05094554d285e157e4ae155637385d27b7bf587494a280f8ae5168b1a7dc3 |
Close
Hashes for ofunctions.threading-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88e1d85a511a0b08db277640cadb90f66f1994c61ad77478c1c8bcb444830599 |
|
MD5 | 1f335d836da63e26720571ba3943e848 |
|
BLAKE2b-256 | 34ff3f44a5c3dd637aa05b7eef67f4aaf30407546d7236e81d8fa5ae84d3bb0b |