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
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 nurse_run-0.1.1.tar.gz.
File metadata
- Download URL: nurse_run-0.1.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.9.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8980bd7cbf83ca26712f4696d3295b7b6a34a647bf5e5c67cc82158473d73f3
|
|
| MD5 |
aa765c23b03998cc847d7a2d1ba13ba6
|
|
| BLAKE2b-256 |
fb1321a238f09c49515d071e3c71bad5c1d8ca7482f173437af3c1b44854dace
|
File details
Details for the file nurse_run-0.1.1-py3-none-any.whl.
File metadata
- Download URL: nurse_run-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.9.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ca5a5a054522b0a95cb3f19ce6272afa04e33650bb364f7738c77dcb071f2a4
|
|
| MD5 |
42f5ed1536fc7977fe9e4e33465f6449
|
|
| BLAKE2b-256 |
3c47e9eb4ad321c272213705e57cfd1045ba09a15fcdb1e215f7d59115976186
|