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
- Get a copy of the simple heartbeat library from pypi.
- Spin up a copy of the heartbeat server, and then set
heartbeat.heartbeat_app_urlto the URL of your heartbeat server. - 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.
- Periodically call
heartbeat.update_heartbeat(app_name)to confirm your application is online.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f18a57b8d958eece033840648ff6f4fd7f5242bdf548dba90a0445331681163c
|
|
| MD5 |
16ff9d9393d78345acb5547f3e0c3dd7
|
|
| BLAKE2b-256 |
ecb9b6fb8c5492883b7e3b395279f69b10b87ec2b99213dc37c83fe2b70f04f3
|
File details
Details for the file simple_heartbeat-0.1.3-py3-none-any.whl.
File metadata
- Download URL: simple_heartbeat-0.1.3-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd81ee27b2569511115453f2a7dd05c08cd12a79d82cadd43e6efad1547ad5e7
|
|
| MD5 |
15fd2b80c69067b012a3afef6cb6ddba
|
|
| BLAKE2b-256 |
9ac5f90ddcc37fb4cf701c148a0a5d0b66381336b9108877f13c468087fb39ba
|