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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nurse_run-0.0.2.tar.gz
  • Upload date:
  • Size: 3.5 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.2.tar.gz
Algorithm Hash digest
SHA256 dce965d049c0269505602250ce7fb5a37ee336b02e4c0fd33ec4db571d3886b4
MD5 da3293c2bd1b40c6e38ab666fc24e3a0
BLAKE2b-256 c9ab21605dad2e6532a673bfbc9406f29bcd8d5de49da4661fed5f93583b280e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nurse_run-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 23075bb868164a4074b56f904af1bbc12b094424b21105d52fd9e3bba3a25e1d
MD5 5f1eacc8fc6ba8dc73eee9aedd44e920
BLAKE2b-256 32bb421dc561d5cb1f0338e28c11c77590d209f99d8be8c42fab11a0c066e94e

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