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>

Metadata

Release files for ofunctions.delayed-keyboardinterrupt 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ofunctions.delayed-keyboardinterrupt 0.1.0
File Size Uploaded
ofunctions.delayed_keyboardinterrupt-0.1.0.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ofunctions.delayed-keyboardinterrupt 0.1.0
File Interpreter ABI Platform
ofunctions.delayed_keyboardinterrupt-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 33.8 kB

Release files / ofunctions.delayed_keyboardinterrupt-0.1.0.tar.gz

Download URL ofunctions.delayed_keyboardinterrupt-0.1.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a61e50e66bebfdbcbdee072076a2d046d4d37c01e665735e75bd2ce9070bbf60
BLAKE2b-256 checksum
How to use checksums
52723454ed1e8e8bc7becd505e5042c80c8a51e3cb05c39fb6435deea1ddd734
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / ofunctions.delayed_keyboardinterrupt-0.1.0-py3-none-any.whl

Download URL ofunctions.delayed_keyboardinterrupt-0.1.0-py3-none-any.whl
Size 29.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6b7b707c288a6bd8c2f5c3269ec82eca1a320de83abb619eb9f522db7eb019d1
BLAKE2b-256 checksum
How to use checksums
ebd384bed596f94a7d09bb6d890d9b3ad9c32163e3a3d4629fcbc2fd6ee0744a
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page