Various tools to execute functions in python
Project description
exectools_vrb
Various tools to execute functions in python.
- On PyPI: https://pypi.org/project/exectools-vrb/
- On GitHub: https://github.com/v-r-b/exectools_vrb
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e2c5f4fc00a85df1ca8da0537468c65b746af5c15c39d789e9b90252fe57cca
|
|
| MD5 |
796f9f4971426ce9fba03dc36e586568
|
|
| BLAKE2b-256 |
2d43fcec973ac346f3d15a5cef4ad614baa1260143f6a5b85c5ac109e874bc72
|
File details
Details for the file exectools_vrb-0.0.3-py3-none-any.whl.
File metadata
- Download URL: exectools_vrb-0.0.3-py3-none-any.whl
- Upload date:
- Size: 18.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
571bd1ffb9aca03ecb0fe07a19fc1eb6122d26e1e084c3bbb290aadb85ba140c
|
|
| MD5 |
bca6b5dedf27f6e371e544f58119ed63
|
|
| BLAKE2b-256 |
8a4216c10d32f376c0eec4da576fdb595ea0a53134d6b3197b7a905054522fec
|