Skip to main content

Simple heartbeat library

Project description

Simple heartbeat library

This is designed to work with the simple heartbeat app to send heartbeat status notifications to the server, and ignore errors and such.


  1. Get a copy of the simple heartbeat library from pypi.
  2. Spin up a copy of the heartbeat server, and then set heartbeat.heartbeat_app_url to the URL of your heartbeat server.
  3. Optional: Call heartbeat.initialise_app(app_name, expiry_period) to initialise your app in the heartbeat server.
    • This is mostly useful for initialising an expiry period for the app. If it fails to contact the heartbeat server, it will propogate the exception up.
  4. Periodically call heartbeat.update_heartbeat(app_name) to confirm your application is online.

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

simple-heartbeat-0.1.2.tar.gz (2.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page