Skip to main content

hb-server

Heartbeat server backend (hb_backend).

Installation

pip install hb-server

This installs:

  • the Python package hb_backend
  • the CLI command hbserver

Running

hbserver --port 8333
# or
python3 -m hb_backend.hbserver --port 8333

Database Setup

For pip-installed users, use django-admin with the settings module:

export DJANGO_SETTINGS_MODULE=hb_backend.settings

# Initialize the database
django-admin migrate

# Create an admin user
django-admin createsuperuser

By default, the database is stored at ./hbdb.sqlite3 in the current directory. You can customize the database path with the HEARTBEAT_DB_PATH environment variable:

export HEARTBEAT_DB_PATH=/var/lib/hb-server/hbdb.sqlite3
django-admin migrate

For development from a git checkout:

cd src && python manage.py migrate
cd src && python manage.py createsuperuser

Related projects

  • hb-client (hb_client): heartbeat client library and CLI
  • hb-watcher (hb_watcher): monitoring daemon

See MIGRATION.md for upgrades from older package names.

Release files for hb-server 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hb-server 0.1.0
File Size Uploaded
hb_server-0.1.0.tar.gz 28.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hb-server 0.1.0
File Interpreter ABI Platform
hb_server-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 59.0 kB

Release files / hb_server-0.1.0.tar.gz

Download URL hb_server-0.1.0.tar.gz
Size 28.8 kB
Tags Source
SHA-256 checksum
How to use checksums
88114291f3f6eff970c7ac0660ad4df3f8bf43c587b2ab580609b3c594a91d07
BLAKE2b-256 checksum
How to use checksums
9dfc32ce394584b84ae9bbbbd1a9a26aaed54f1670b3e13793e2c2a842e687d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 26, 2026.

Transparency log

Release files / hb_server-0.1.0-py3-none-any.whl

Download URL hb_server-0.1.0-py3-none-any.whl
Size 30.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
96de9f61983790fd1a83427d1412b8eb58716603c521ea697c6765c0c394aefa
BLAKE2b-256 checksum
How to use checksums
22a0133d9a7595b0dfc46fac39bf67521af7b26ef5e51e6c0d25442cb96b2717
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 26, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page