Very basic platform identification
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.platform-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e98105d9501997ac451906fe3bf507780848e8926873446878ab442de05e93aa |
|
MD5 | ba251912cb2fa3debf13a148aa0d7358 |
|
BLAKE2b-256 | 163254aa04c16ccd9754ed8c2e20b12608b9f3aa609ca95e4bb9e18ef50f12a4 |
Close
Hashes for ofunctions.platform-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7cd65326988d6b90e9eda735ff2a8b62fea8093e36832e3aa5cffe4fd51ca8b |
|
MD5 | e10dcdaa6087eab2d44513b1ab081362 |
|
BLAKE2b-256 | abe919e1c13b4fa56ccdf6bc5c250be3e48e87e86a3a7590ec6d5b9bce1e628f |