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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nurse_run-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 ded6c1ddcf973fef5deb283436568f98e975dd463b44da13ef4101ba5adce727
MD5 7a4c040d8ccc7f2c5165a390e1092b74
BLAKE2b-256 44f1a9ad0452cb9b06bd0d284b726656b77fe111cc8950421b4d9c89d8de6904

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nurse_run-0.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b6403b9c2c63530330f0a6441a3bb1ed372c4bb01e9da2c353e26c730004c291
MD5 88bd0560bfe7025e92fe5ec9ba6ef0d7
BLAKE2b-256 2af3ed0585e05609d35bdc9ce6d8c1188e248000aa9fa8e0d545571bf74e75b6

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