Skip to main content

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')

Metadata

Release files for nurse-run 0.1.1

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

Source distribution (sdist)

Source distribution for nurse-run 0.1.1
File Size Uploaded
nurse_run-0.1.1.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nurse-run 0.1.1
File Interpreter ABI Platform
nurse_run-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.9 kB

Release files / nurse_run-0.1.1.tar.gz

Download URL nurse_run-0.1.1.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a8980bd7cbf83ca26712f4696d3295b7b6a34a647bf5e5c67cc82158473d73f3
BLAKE2b-256 checksum
How to use checksums
fb1321a238f09c49515d071e3c71bad5c1d8ca7482f173437af3c1b44854dace
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / nurse_run-0.1.1-py3-none-any.whl

Download URL nurse_run-0.1.1-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ca5a5a054522b0a95cb3f19ce6272afa04e33650bb364f7738c77dcb071f2a4
BLAKE2b-256 checksum
How to use checksums
3c47e9eb4ad321c272213705e57cfd1045ba09a15fcdb1e215f7d59115976186
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

1 release file

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