Skip to main content

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>

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.1.tar.gz (4.3 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.1-py3-none-any.whl (29.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ofunctions.string_handling-0.1.1.tar.gz
  • Upload date:
  • Size: 4.3 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.string_handling-0.1.1.tar.gz
Algorithm Hash digest
SHA256 49aed083accaaf58ff3b2e80ea396d47899322b5ac0d394cc6e1cfa754503211
MD5 b6267f4e1ba9e457268ab8906d28d785
BLAKE2b-256 d6227c0609d45598fd14244f3fbcf02de9880e51433caf202f4eda001776d84b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ofunctions.string_handling-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 29.3 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.string_handling-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 18b3f8dd9340130ea260e80c0690ad665bfc33b272ba571c6cd44cb0a4167142
MD5 2f4f861e0cd893cc4a52def80fd183e5
BLAKE2b-256 facb372a5f997f41d9505d81283d719fb0010c970e18c90299cded883725c0e3

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 Sentry Error logging StatusPage Status page