Skip to main content

Collection of various functions

Project description

ofunctions

Collection of useful python functions

License Percentage of issues still open Linux Build Status 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
  • delayed_keyboardinterrupt: Just a nifty tool to catch CTRL+C signals
  • file_utils:
  • 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
  • pw_gen: basic password generator
  • service_control: control Windows / Linux service start / stop / status
  • string_handling: Remove accents / special chars from strings

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

ofunctions.misc-1.0.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

ofunctions.misc-1.0.0-py3-none-any.whl (29.2 kB view details)

Uploaded Python 3

File details

Details for the file ofunctions.misc-1.0.0.tar.gz.

File metadata

  • Download URL: ofunctions.misc-1.0.0.tar.gz
  • Upload date:
  • Size: 4.6 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.2 CPython/3.8.6

File hashes

Hashes for ofunctions.misc-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c824fb537bf5c6814654fb7cb82f3158ee4ba20d60cf76e36c625e0f5db03537
MD5 e715c8078b83b09f5aa8f4c1cf9dbb15
BLAKE2b-256 9bc2b076b662195f0f33200600d3060551c28b5844df5f45dbc5f56f425299bb

See more details on using hashes here.

File details

Details for the file ofunctions.misc-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ofunctions.misc-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 29.2 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.2 CPython/3.8.6

File hashes

Hashes for ofunctions.misc-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 73e7500c09bb46f122ba3e084eacbb73dedfe6d6f5fd7ea34a2eed46466a08a8
MD5 a90084c5020196a8ee54f126818a3f60
BLAKE2b-256 33ca91b96c7e922e0992dedaaf2669223d2caab828aadc31f705bde657f1fe0f

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