Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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 release candidate

Release candidates are published under the hg_cpp distribution name:

python -m pip install hg_cpp==0.4.0rc1

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.0rc1.tar.gz (1.9 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.0rc1-cp312-abi3-win_amd64.whl (51.6 MB view details)

Uploaded CPython 3.12+Windows x86-64

hg_cpp-0.4.0rc1-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (16.7 MB view details)

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

hg_cpp-0.4.0rc1-cp312-abi3-macosx_15_0_arm64.whl (14.5 MB view details)

Uploaded CPython 3.12+macOS 15.0+ ARM64

File details

Details for the file hg_cpp-0.4.0rc1.tar.gz.

File metadata

  • Download URL: hg_cpp-0.4.0rc1.tar.gz
  • Upload date:
  • Size: 1.9 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.0rc1.tar.gz
Algorithm Hash digest
SHA256 6cc4c040e5df2ac92cd02af336116bd7013548badc6aa65d730b99a2e0fab55b
MD5 e0a2cb9f97f6f0f672a07ce3729c2380
BLAKE2b-256 2560de0ecacea89087bcb2b12d5a261f186d19efe6bc6b50896acdceab9e907c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: hg_cpp-0.4.0rc1-cp312-abi3-win_amd64.whl
  • Upload date:
  • Size: 51.6 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.0rc1-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ea9ed8c4e96f13b533a4c4780813ff65934c8d1a1cd13b50d84844d9eaf9fb53
MD5 5e67d954186a106ddaa239dd7fb6d8dc
BLAKE2b-256 d5bb523c76d08af79973bbb4daa552de221be70d38a466959d840fbb301ce149

See more details on using hashes here.

Provenance

The following attestation bundles were made for hg_cpp-0.4.0rc1-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.0rc1-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for hg_cpp-0.4.0rc1-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9b154edb47fcaf769da12c05563091125549a7db4e72e243fbb0a052eb65389a
MD5 9e2ef4c5502a01cee96d4404522b595d
BLAKE2b-256 09f9aecd31e1381251e8f4f197b17c7a6492d54dc19d4e15a88360bfff6ec0d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for hg_cpp-0.4.0rc1-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.0rc1-cp312-abi3-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for hg_cpp-0.4.0rc1-cp312-abi3-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 c32bebd38df2cef9a81d277fadda4882f7bd20108cc7298455fb670512d37d94
MD5 c29e35c9346a3deea0defbc1ffcd3249
BLAKE2b-256 9d4957887e16f74635c1339b99e3af6f5cae0090b2e54c0ffda1fc747a71225a

See more details on using hashes here.

Provenance

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

This release

0.4.0rc1 This release

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