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.7.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e355ec90268a4efcd721459624c63dca6777ae409bdb98cade101bb85a1ccbb3 |
|
MD5 | 53fc695b30eac70e89306f03810c692d |
|
BLAKE2b-256 | 8bf7cb9d1e59adaefaf47c7fc5b7db445fbf6440aae1125152a8260cdacbf324 |
Close
Hashes for ofunctions.file_utils-0.7.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70dfb7ecd64d8de647f08992d96094d88613a625eb5c1f1f286e21063a68fcc1 |
|
MD5 | 0048ae27656fede7d6e3c0d9f96c72c7 |
|
BLAKE2b-256 | 14ba131b1b5385de6d3613460b6f089ef909f8832dfdd3a62cf2d11d67c813bd |