Skip to main content

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.

Install

pip

pip install "graphforge==0.5.1"

uv (recommended)

uv add "graphforge==0.5.1"

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

Metadata

Release files for graphforge 0.5.1

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.5.1
File Size Uploaded Provenance Actions
graphforge-0.5.1.tar.gz 2.1 MB Without provenance Details for graphforge-0.5.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for graphforge 0.5.1
File Interpreter ABI Platform Actions
graphforge-0.5.1-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for graphforge-0.5.1-cp310-abi3-win_amd64.whl
graphforge-0.5.1-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.5.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
graphforge-0.5.1-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for graphforge-0.5.1-cp310-abi3-macosx_11_0_arm64.whl

Total release size: 140.8 MB

Release files / graphforge-0.5.1.tar.gz

Download URL graphforge-0.5.1.tar.gz
Size 2.1 MB
Tags Source
SHA-256 checksum
How to use checksums
3c49acd2eb5ed8c5717a5f635b2b66ac75b81c69a9bc6cc86ef68e3a4fa83b3e
BLAKE2b-256 checksum
How to use checksums
a7e2075d226daab1742e2ca009cb62eaaa545e0cbd9b588217e98bfa4af5666f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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.5.1-cp310-abi3-win_amd64.whl

Download URL graphforge-0.5.1-cp310-abi3-win_amd64.whl
Size 43.9 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
0d3cc93fbd1f9d02cfed4d0f5ea16fb84a5c60f8b26a1c6a8cd3bdd3d3799062
BLAKE2b-256 checksum
How to use checksums
491f9bb68cebf178054e968c6c9eeeee58a29f7a780e0861e5a5abf60afb02ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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.5.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL graphforge-0.5.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 50.1 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
e33ddee0de4904bd09bd6056e56608f4fb8e90d3b60b5464b2ac0c896ecae68b
BLAKE2b-256 checksum
How to use checksums
4f0273330de9c29ed06bad23a8868a27441422da8e8a27f0f01c4531e3af6444
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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.5.1-cp310-abi3-macosx_11_0_arm64.whl

Download URL graphforge-0.5.1-cp310-abi3-macosx_11_0_arm64.whl
Size 44.7 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e93a554d4733628b2ee72da96c1db566f10b4145743b854524ec5d194adf94d4
BLAKE2b-256 checksum
How to use checksums
b79e382f2a4e64e7cceb90840eaec5cbd20867a0a7063f794ad0262477efea1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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.5.1

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