Skip to main content

Various tools to execute functions in python

Project description

exectools_vrb

Various tools to execute functions in python.

This module defines:

function try_run()

Exception proof function call. If the call succeeds, return the result of func. If not, repeat the call under certain circumstances instead of raising an exception immediately. Can be used if exceptions are expected, e.g. TimeoutErrors.

type TryRunLogFunc

Function type for logging exceptions to be used with in try_run().

class TaskOnRequestThread

Thread class which carries out a task (spefified by a callback function) whenever it is requested to do so (by setting a flag). There's also a method which will run this task periodically.

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

exectools_vrb-0.0.3.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

exectools_vrb-0.0.3-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file exectools_vrb-0.0.3.tar.gz.

File metadata

  • Download URL: exectools_vrb-0.0.3.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for exectools_vrb-0.0.3.tar.gz
Algorithm Hash digest
SHA256 4e2c5f4fc00a85df1ca8da0537468c65b746af5c15c39d789e9b90252fe57cca
MD5 796f9f4971426ce9fba03dc36e586568
BLAKE2b-256 2d43fcec973ac346f3d15a5cef4ad614baa1260143f6a5b85c5ac109e874bc72

See more details on using hashes here.

File details

Details for the file exectools_vrb-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for exectools_vrb-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 571bd1ffb9aca03ecb0fe07a19fc1eb6122d26e1e084c3bbb290aadb85ba140c
MD5 bca6b5dedf27f6e371e544f58119ed63
BLAKE2b-256 8a4216c10d32f376c0eec4da576fdb595ea0a53134d6b3197b7a905054522fec

See more details on using hashes here.

Supported by

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