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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file nurse_run-0.1.0.tar.gz.

File metadata

  • Download URL: nurse_run-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 3ba217621eab17e7d62471af05a16b2b806f64bf22a862a9c5c0dad6eaed9dcf
MD5 e4cd6802d5ca200f32a04aa1d91d8403
BLAKE2b-256 33970341e68bd9deb77980d36825c5980c4f26f254afd7e7761100b342b88d97

See more details on using hashes here.

File details

Details for the file nurse_run-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: nurse_run-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2565348de0fe02fe3e80ac08b6ff99cc976a18cd42a4d16d9fc9d930f7531523
MD5 bd67690c04722bbf519380e06b38695d
BLAKE2b-256 f8357930508642350cf86a9d55fa103153b8823c9e4f798381d6ecf7a6bcf773

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