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

Uploaded Source

Built Distribution

nurse_run-0.0.3-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

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

Hashes for nurse_run-0.0.3.tar.gz
Algorithm Hash digest
SHA256 8c25933938f8c9fad849d73431c04b2547d6b9fb31fb04ef204122e668c83c14
MD5 8373cd804df20447ad68cdaa725647b0
BLAKE2b-256 e9cb7f09e14abc3000425bbba90489377c779e50c320998438f040bb49fc8ad1

See more details on using hashes here.

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

Hashes for nurse_run-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8085ed5c3f02d1c55ffb56f13c2366f2d0994a3d2b010dfd3c491c8552124290
MD5 febdca3f6a3ac63704df91f5febb1d67
BLAKE2b-256 34b0caaf212fa673cbe9ae1e36483a197ad68f4f607f1a1f04ba0ecd6aa1ba8f

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