Skip to main content

graft-core — Graft Robotics Rust Spatial & Watchdog Kernel

GIL-free Rust hot-path spatial kernel (PyO3) and monotonic heartbeat watchdog (graft-watchdog) for robot-gate and Graft Robotics.

  • Exact Continuous Swept-Path Kernel (check_swept_path): Continuous Kay-Kajiya ray-vs-AABB slab intersection (1.96 µs/check on Raspberry Pi 5 ARM64) with strict fail-closed IEEE-754 NaN/Inf and inverted-box guards.
  • LAN 3D LiDAR Voxel Mesher (build_voxel_mesh_obj): 10,000-point cloud → manifold .obj obstacle mesh at 316 Hz (3.16 ms p50 on Pi 5).
  • Record verifier (verify_json, new in 0.2.0): the graft-verify checks for cell passports, the public log and RCAN §8.6 signer key files. robot-gate uses it as a second, independent check of each passport's hash and signature.
  • Monotonic Heartbeat Watchdog (graft-watchdog): Static GIL-free Rust supervisor (std::time::Instant, 0.22 ms p50 /stop under load, bounded connection pool).

Install (PyPI)

uv pip install graft-core
# or: pip install graft-core
import graft_core

# waypoints, workspace min, workspace max, keep-out boxes (name, min, max)
allowed, margin_m, violator, samples = graft_core.check_swept_path(
    [[0.0, 0.0, 0.2], [0.4, 0.1, 0.3]],
    [-0.75, -0.65, 0.05], [0.75, 0.65, 0.95],
    [("fixture", [0.2, 0.2, 0.0], [0.3, 0.3, 0.4])],
)

# Check a cell passport against its signer's public key (op 1).
import json
result = json.loads(graft_core.verify_json(1, json.dumps({"passport": passport, "jwk": jwk})))

ISO 13850 Safety Boundary: graft-core, graft-watchdog, and robot-gate are strictly a deterministic, default-deny software pre-flight boundary and cryptographic audit layer claiming zero ISO 13849-1 PL/SIL risk-reduction credit. They are NOT a safety-rated ISO 13850 hardware emergency stop and must always be paired alongside certified hardwired E-stops and safety relays.

Metadata

Release files for graft-core 0.2.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 graft-core 0.2.0
File Size Uploaded Provenance Actions
graft_core-0.2.0.tar.gz 44.6 kB Without provenance Details for graft_core-0.2.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for graft-core 0.2.0
File Interpreter ABI Platform Actions
graft_core-0.2.0-cp311-abi3-manylinux_2_34_aarch64.whl CPython 3.11 abi3 Linux glibc 2.34+ ARM64 Details for graft_core-0.2.0-cp311-abi3-manylinux_2_34_aarch64.whl
graft_core-0.2.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for graft_core-0.2.0-cp311-abi3-macosx_11_0_arm64.whl

Total release size: 811.9 kB

Release files / graft_core-0.2.0.tar.gz

Download URL graft_core-0.2.0.tar.gz
Size 44.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c120297d50f2cf6f674c38ee6156fd36fee580554677bb13e6eb677f72f14310
BLAKE2b-256 checksum
How to use checksums
8fcf6e5e71c65e246997a5488c3fdd5b79161dc15ba13706ab02d34432c2b2d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / graft_core-0.2.0-cp311-abi3-manylinux_2_34_aarch64.whl

Download URL graft_core-0.2.0-cp311-abi3-manylinux_2_34_aarch64.whl
Size 399.9 kB
Tags CPython 3.11 Linux glibc 2.34+ ARM64 abi3
SHA-256 checksum
How to use checksums
f55fde42b57783b8db33a645f0b3dd76227adef8163a2fbad8227ffa39b80210
BLAKE2b-256 checksum
How to use checksums
787a2981df05c3cfd4afaefadd65e46c1f58c6f6c5aaf57078100cd83061a011
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / graft_core-0.2.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL graft_core-0.2.0-cp311-abi3-macosx_11_0_arm64.whl
Size 367.5 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9937ffc65aa9c9f1777e329d827cba59d7a71eed03eb6bc235129c7446b42cc2
BLAKE2b-256 checksum
How to use checksums
9cac669c443c57271e99b9e4d32e90e98e9c764c410af7758aa1a964d4d23ee1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for graft-core 0.2.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

3 release files No provenance

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