Skip to main content
Pre-release

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

GraphForge for Python

Native Python bindings for GraphForge — an embedded openCypher graph engine with Rust-owned behavior, Arrow results, and a thin repository lifecycle CLI.

External decision results

Provider-neutral results use the public graphforge.DecisionBatchV1 TypedDict contract. Pass one to GraphForge.validate_decision_batch(); Rust validates correlation and values and returns a pyarrow.Table using decision_result/1. Producer execution, thresholds, review and actions stay in caller code. See the decision workflow guide.

Install

pip

pip install graphforge

uv (recommended)

uv add graphforge

First use

from graphforge import GraphForge

forge = GraphForge()  # in-memory; pass a directory path for persistence

alice = forge.add_node("Person", name="Alice", age=30)
bob = forge.add_node("Person", name="Bob", age=25)
forge.add_edge(alice, "KNOWS", bob, since=2020)

table = forge.execute("""
    MATCH (p:Person)-[:KNOWS]->(friend:Person)
    WHERE p.age > 25
    RETURN p.name AS person, friend.name AS friend
""")
print(table.to_pandas())

execute() returns an Apache Arrow Table. The graphforge console entry point launches the same Rust-owned repository CLI used by gf and npx @curatelabs/graphforge-cli.

Documentation

Algorithm definitions

rank() supports fixed PageRank iterations and damping, and directed clustering_normalization="neighbor_edges". cluster() supports deterministic synchronous_iterations with an optional Int64 initial_label_property. Existing calls retain their defaults. See the API reference in the full documentation for definitions and invocation descriptors.

Typed Hub workflow

graphforge.HubProject exposes typed clone, commit, tag, push/publish, pull and history results through the Rust CLI. See the facade reference and Python example for results, native errors, Arrow reads and write-capable Hub prerequisites.

Metadata

Release files for graphforge 0.6.0rc6

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

Source distribution (sdist)

Source distribution for graphforge 0.6.0rc6
File Size Uploaded Provenance Actions
graphforge-0.6.0rc6.tar.gz 7.5 MB Without provenance Details for graphforge-0.6.0rc6.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for graphforge 0.6.0rc6
File Interpreter ABI Platform Actions
graphforge-0.6.0rc6-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for graphforge-0.6.0rc6-cp310-abi3-win_amd64.whl
graphforge-0.6.0rc6-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details for graphforge-0.6.0rc6-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
graphforge-0.6.0rc6-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for graphforge-0.6.0rc6-cp310-abi3-macosx_11_0_arm64.whl

Total release size: 211.0 MB

Release files / graphforge-0.6.0rc6.tar.gz

Download URL graphforge-0.6.0rc6.tar.gz
Size 7.5 MB
Tags Source
SHA-256 checksum
How to use checksums
28f54fa9852563487086b385e991c8c9d2d9fed314667bebe2c96eb0db944036
BLAKE2b-256 checksum
How to use checksums
27cb95dc117560c4417460d74b994d654b5dc36962f4420a11ab6be2fba53f1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / graphforge-0.6.0rc6-cp310-abi3-win_amd64.whl

Download URL graphforge-0.6.0rc6-cp310-abi3-win_amd64.whl
Size 64.0 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
f72b5e2ae840785301b5b725e1e724b756afc7d2cf46a149596de75298b74929
BLAKE2b-256 checksum
How to use checksums
f1c0267dd54e5a046a1dbbe170d0c12ceaf53ba9ee94e5eaf51cb9b691c19c70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / graphforge-0.6.0rc6-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL graphforge-0.6.0rc6-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 74.1 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
f299eab87f217e6ee021227e35e000665e5896ed69481e499deb873783e51421
BLAKE2b-256 checksum
How to use checksums
d7b8bff3751b3666cffad768e69ea44ea4c4d701137eff317315e968ae0982f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / graphforge-0.6.0rc6-cp310-abi3-macosx_11_0_arm64.whl

Download URL graphforge-0.6.0rc6-cp310-abi3-macosx_11_0_arm64.whl
Size 65.5 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
52747f5d27c7fdf2b3c25d77a7c72a2a5ebe69a97009d5cb993ed3e03115d843
BLAKE2b-256 checksum
How to use checksums
36e9937ad204e67fba752d823ae1145ad0f856f7049936541b25b02cf743ffde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for graphforge 0.6.0rc6

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.

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