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 preview

Preview builds are 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 platform wheel supports CPython 3.12 and later through the CPython stable ABI.

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 (pip install -r docs/requirements.txt, then 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.
  • Reference trees under ext/ are read-only: ext/main is the canonical Python hgraph reference; ext/2603 / ext/2604 are earlier C++ snapshots.

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.3.0.tar.gz (1.3 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.3.0-cp312-abi3-win_amd64.whl (43.4 MB view details)

Uploaded CPython 3.12+Windows x86-64

hg_cpp-0.3.0-cp312-abi3-manylinux_2_39_x86_64.whl (12.5 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.39+ x86-64

hg_cpp-0.3.0-cp312-abi3-macosx_15_0_arm64.whl (11.6 MB view details)

Uploaded CPython 3.12+macOS 15.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for hg_cpp-0.3.0.tar.gz
Algorithm Hash digest
SHA256 a2a24d303a36e42a9d1cabfbf64c3f5fcd335411df563dd1a0f7db06ee3d1823
MD5 5e656b416d3ff6c0b0ae4e9325ef2459
BLAKE2b-256 64790f6f3f14bb13f1bb11bd32ecbafe11b9188aa6f7f24bc586b30603f3c7e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for hg_cpp-0.3.0.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.3.0-cp312-abi3-win_amd64.whl.

File metadata

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

File hashes

Hashes for hg_cpp-0.3.0-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c2c6c4d502572edb495327f8162ac9a6e8b53819f70cd642b31ab10f710ee45b
MD5 09e50e0bb89e3adc56c75f75771e11a9
BLAKE2b-256 7739cdb444f08653c6ec3053eeea88711f43d66485db61eedee8b531dcf6148b

See more details on using hashes here.

Provenance

The following attestation bundles were made for hg_cpp-0.3.0-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.3.0-cp312-abi3-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for hg_cpp-0.3.0-cp312-abi3-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 794d4ca1df083a160291b32c1e1d372d00bba41560476c298dea0402aab27630
MD5 e478c6ed55720d77027558df9215d718
BLAKE2b-256 10f89c4a11a807c36385d806a9bbc22e7c1efa4b599f1dd4ff791e6626117beb

See more details on using hashes here.

Provenance

The following attestation bundles were made for hg_cpp-0.3.0-cp312-abi3-manylinux_2_39_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.3.0-cp312-abi3-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for hg_cpp-0.3.0-cp312-abi3-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 7d96418b6371ceed757e0f5b02e1e7f74facea5f4e75386477dc238a0845026b
MD5 1983bbed829ae48176396f31168d54d3
BLAKE2b-256 4aac750b35ced34288d96a030e55d8bd6fe32ec66ad3ce128529689c0eb9bf2e

See more details on using hashes here.

Provenance

The following attestation bundles were made for hg_cpp-0.3.0-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

0.4.13

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

This release

0.3.0 This release

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