Skip to main content

hg_cpp

A clean-slate, C++-first implementation of the hgraph functional-reactive time-series runtime. The C++ runtime is the source of truth. Python provides wiring compatibility and supports Python-authored nodes running inside that runtime.

Python package

The C++-backed compatibility package is published under the hg_cpp distribution name:

python -m pip install hg_cpp

The distribution exposes the hgraph import package and the native _hgraph extension. Install it in an isolated environment rather than alongside the main hgraph distribution, since both provide the same Python import namespace. One wheel per supported platform covers CPython 3.12 and later through the CPython stable ABI. The supported Python and platform policy is recorded in docs/source/developer_guide/release_readiness.rst.

Build & test

cmake -S . -B build                 # configure (fmt + Catch2 fetched if absent)
cmake --build build -j              # build hgraph_core + tests
ctest --test-dir build --output-on-failure

Requires a C++23 compiler and CMake >= 3.25. Python/nanobind are not needed for the default build (bindings are opt-in via -DHGRAPH_BUILD_PYTHON_BINDINGS=ON).

Documentation

Sphinx docs live under docs/source (uv sync --extra docs, then uv run sphinx-build -W -b html docs/source docs/_build/html):

  • User guide — start at docs/source/user_guide/quick_start.rst, then the authoring/testing guides for nodes, graphs, and the eval_node harness.
  • Developer guide — the authoritative design records (docs/source/developer_guide/): architecture, data structures, wiring, nested graphs, mesh, services, error handling, operators, roadmap.

Contributing / AI sessions

  • AGENTS.md — canonical project direction: goals, build philosophy, source layout, dependency policy, git hygiene.
  • CLAUDE.md — the operational working guide: the enforced design-first workflow (docs change in the same commit as code), guardrails, architecture map, and current state.
  • The read-only ext/main tree is the canonical Python hgraph reference.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hg_cpp-0.4.13.tar.gz (2.4 MB view details)

Uploaded Source

Built Distributions

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

hg_cpp-0.4.13-cp312-abi3-win_amd64.whl (16.2 MB view details)

Uploaded CPython 3.12+Windows x86-64

hg_cpp-0.4.13-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (7.7 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

hg_cpp-0.4.13-cp312-abi3-macosx_15_0_arm64.whl (7.0 MB view details)

Uploaded CPython 3.12+macOS 15.0+ ARM64

File details

Details for the file hg_cpp-0.4.13.tar.gz.

File metadata

  • Download URL: hg_cpp-0.4.13.tar.gz
  • Upload date:
  • Size: 2.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for hg_cpp-0.4.13.tar.gz
Algorithm Hash digest
SHA256 f7724c39f1a2a3b94f0d2a2726c24268b40cb099d7e88117d84a42f3ac348332
MD5 4c36c9694a2f7d053f3c9a64b9cf0cd2
BLAKE2b-256 1bbb1ee1f1c16c898df9836a15c4c05f4923354663321c847b97fbdfd2619e8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for hg_cpp-0.4.13.tar.gz:

Publisher: build.yml on hhenson/hg_cpp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hg_cpp-0.4.13-cp312-abi3-win_amd64.whl.

File metadata

  • Download URL: hg_cpp-0.4.13-cp312-abi3-win_amd64.whl
  • Upload date:
  • Size: 16.2 MB
  • Tags: CPython 3.12+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for hg_cpp-0.4.13-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 419236fb5bf38b0a987e1f128779bea474ecc13569580c6f0039331393f205e0
MD5 410c4bcea4b4bbc16ee94f12549231b1
BLAKE2b-256 22df0d32df57df89d825f91449a5dba7231d8b1066a5ea478ff5e298fff38a8e

See more details on using hashes here.

Provenance

The following attestation bundles were made for hg_cpp-0.4.13-cp312-abi3-win_amd64.whl:

Publisher: build.yml on hhenson/hg_cpp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hg_cpp-0.4.13-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for hg_cpp-0.4.13-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2708c252588919a5d58996aa7f0c4ef7cf5d3cb97397788636c26f809686a524
MD5 109ffc5f4bd304cd5140b4716225aa2a
BLAKE2b-256 134172112674ea2f13e4a1a0c02c0bab5a75b9d6983154e0146c31079f407a8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for hg_cpp-0.4.13-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build.yml on hhenson/hg_cpp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hg_cpp-0.4.13-cp312-abi3-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for hg_cpp-0.4.13-cp312-abi3-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 6f6aff9afe38f5926c06cb3870e8b93444907cdd1f11b2ea9233835676e6f9f6
MD5 d0a34f7e7c7dee7021b5afaa6c829fd0
BLAKE2b-256 64b0f6f6273c14c887898a2ca2bbfae5254a0c263e39fb2658fd93e76e859ac8

See more details on using hashes here.

Provenance

The following attestation bundles were made for hg_cpp-0.4.13-cp312-abi3-macosx_15_0_arm64.whl:

Publisher: build.yml on hhenson/hg_cpp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.4.18

4 files

0.4.17

4 files

0.4.16

4 files

0.4.15

4 files

0.4.14

4 files

This release

0.4.13 This release

4 files

0.4.12

4 files

0.4.11

4 files

0.4.10

4 files

0.4.9

4 files

0.4.8

4 files

0.4.7

4 files

0.4.6

4 files

0.4.5

4 files

0.4.4

4 files

0.4.3

4 files

0.4.2

4 files

0.4.1

4 files

0.4.0

4 files

0.3.3

4 files

0.3.2

4 files

0.3.1

4 files

0.3.0

4 files

0.2.0

4 files

0.1.4

4 files

0.1.3

4 files

0.1.2

4 files

0.1.1

4 files

0.1.0

4 files

0.0.5

6 files

0.0.4

4 files

0.0.3

3 files

0.0.2

3 files

0.0.1

3 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