This package starts and looks after your program, based on the configuration.
Project description
Nurse run
This package starts and looks after your program, retry when your program fails, and perform the specified action after the number of retries (usually sending an alert notification).
This package works with the python-dotenv package to configure settings via environment variables or .env.
Essentially, this package solves three common types of problems with program running:
- retry
- clean
- alarm
Definition of environment variables:
Name | Description |
---|---|
NURSE_RUN_RETRY_TIMES | max retry times |
NURSE_RUN_RETRY_DELAY | retry delay (seconds) |
NURSE_RUN_CLEANER | Cleanup function (format 'module:func') |
NURSE_RUN_ALERTER | Alarm function (format 'module:func') |
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
nurse_run-0.0.3.tar.gz
(3.4 kB
view details)
Built Distribution
File details
Details for the file nurse_run-0.0.3.tar.gz
.
File metadata
- Download URL: nurse_run-0.0.3.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c25933938f8c9fad849d73431c04b2547d6b9fb31fb04ef204122e668c83c14 |
|
MD5 | 8373cd804df20447ad68cdaa725647b0 |
|
BLAKE2b-256 | e9cb7f09e14abc3000425bbba90489377c779e50c320998438f040bb49fc8ad1 |
File details
Details for the file nurse_run-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: nurse_run-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8085ed5c3f02d1c55ffb56f13c2366f2d0994a3d2b010dfd3c491c8552124290 |
|
MD5 | febdca3f6a3ac63704df91f5febb1d67 |
|
BLAKE2b-256 | 34b0caaf212fa673cbe9ae1e36483a197ad68f4f607f1a1f04ba0ecd6aa1ba8f |