Skip to main content

ofunctions

Collection of useful python functions

License Percentage of issues still open Maintainability codecov linux-tests windows-tests GitHub Release

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>

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ofunctions.string_handling-0.1.2.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ofunctions.string_handling-0.1.2-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file ofunctions.string_handling-0.1.2.tar.gz.

File metadata

  • Download URL: ofunctions.string_handling-0.1.2.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.8.6

File hashes

Hashes for ofunctions.string_handling-0.1.2.tar.gz
Algorithm Hash digest
SHA256 38739f309d4752519ec8a883ff17d258d942b3ceb37e211d35845ebade81afed
MD5 432e8d441d1863a17239267b98924f4b
BLAKE2b-256 d7f32fb53535f7c3e1d81000e61d207f531418292c456f80413c7238fd577c69

See more details on using hashes here.

File details

Details for the file ofunctions.string_handling-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: ofunctions.string_handling-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.8.6

File hashes

Hashes for ofunctions.string_handling-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 36b6ebc06345af270c98dc7767d6efe2c2747c4aefc386bd32cf6b02e6470b49
MD5 87ad96d5ff928ada729f36e5b4242b4d
BLAKE2b-256 ce47a354532a29da9636725d25fd9163335227626268c032e119243e827c7b4b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page