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.

Usage

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simple_heartbeat-0.1.3-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file simple_heartbeat-0.1.3.tar.gz.

File metadata

  • Download URL: simple_heartbeat-0.1.3.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for simple_heartbeat-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f18a57b8d958eece033840648ff6f4fd7f5242bdf548dba90a0445331681163c
MD5 16ff9d9393d78345acb5547f3e0c3dd7
BLAKE2b-256 ecb9b6fb8c5492883b7e3b395279f69b10b87ec2b99213dc37c83fe2b70f04f3

See more details on using hashes here.

File details

Details for the file simple_heartbeat-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_heartbeat-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fd81ee27b2569511115453f2a7dd05c08cd12a79d82cadd43e6efad1547ad5e7
MD5 15fd2b80c69067b012a3afef6cb6ddba
BLAKE2b-256 9ac5f90ddcc37fb4cf701c148a0a5d0b66381336b9108877f13c468087fb39ba

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page