Various file handling of which get_files_recursive is the most advanced
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
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
Built Distribution
Close
Hashes for ofunctions.file_utils-0.8.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9910f174ad1d70ae4a79dac1678c0bf24fe03d38be948d38fcfab16957607ce |
|
MD5 | 8ec43134f6bc5f62309afa7524ea836f |
|
BLAKE2b-256 | 72f8200497c226d31592383154aa9607953a34e0923b075c4b124fe7d62c9ef5 |
Close
Hashes for ofunctions.file_utils-0.8.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cb237ae0db6effc58cdcc0b5c50239db8f84c73b3cb35dc237b1b6770989ec2 |
|
MD5 | 6723c8e08e04cddc750824c3d08afcdd |
|
BLAKE2b-256 | 5bba97dd787315a487be9d9b6e1883955d99ff27712d87c960354ee4d051ff02 |