Skip to main content

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.1.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

nurse_run-0.1.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

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

Hashes for nurse_run-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a8980bd7cbf83ca26712f4696d3295b7b6a34a647bf5e5c67cc82158473d73f3
MD5 aa765c23b03998cc847d7a2d1ba13ba6
BLAKE2b-256 fb1321a238f09c49515d071e3c71bad5c1d8ca7482f173437af3c1b44854dace

See more details on using hashes here.

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

Hashes for nurse_run-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6ca5a5a054522b0a95cb3f19ce6272afa04e33650bb364f7738c77dcb071f2a4
MD5 42f5ed1536fc7977fe9e4e33465f6449
BLAKE2b-256 3c47e9eb4ad321c272213705e57cfd1045ba09a15fcdb1e215f7d59115976186

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