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.9.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9164ea77e5e4a69f626511705e4f8f63365261cc8058f8ec547715e5e21952a |
|
MD5 | 179ba5d14a87255aa375032f9cb141b3 |
|
BLAKE2b-256 | 3b1b7ff31c436be2fa18f1731cfd1deb3ede025c3d8de93e026b68849722b641 |
Close
Hashes for ofunctions.file_utils-0.9.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f36f4f7e3e45c1b7d28cde77e630f5e62aa8a1c19dce6d0dfaa3d85a1708703 |
|
MD5 | 51e414efd3dbf7fe8d992b9f91fd0246 |
|
BLAKE2b-256 | 4f2b1eea2c0a2e854a1f0004efa17ef584d1f34d1a8d03a6a05f96d6c1239c70 |