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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file graphforge-0.5.1.tar.gz.
File metadata
- Download URL: graphforge-0.5.1.tar.gz
- Upload date:
- Size: 2.1 MB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c49acd2eb5ed8c5717a5f635b2b66ac75b81c69a9bc6cc86ef68e3a4fa83b3e
|
|
| MD5 |
23c7084b03938c9560badea0751c15af
|
|
| BLAKE2b-256 |
a7e2075d226daab1742e2ca009cb62eaaa545e0cbd9b588217e98bfa4af5666f
|
File details
Details for the file graphforge-0.5.1-cp310-abi3-win_amd64.whl.
File metadata
- Download URL: graphforge-0.5.1-cp310-abi3-win_amd64.whl
- Upload date:
- Size: 43.9 MB
- Tags: CPython 3.10+, Windows x86-64
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d3cc93fbd1f9d02cfed4d0f5ea16fb84a5c60f8b26a1c6a8cd3bdd3d3799062
|
|
| MD5 |
e5a8da412079ce289e956dd32c5cf824
|
|
| BLAKE2b-256 |
491f9bb68cebf178054e968c6c9eeeee58a29f7a780e0861e5a5abf60afb02ed
|
File details
Details for the file graphforge-0.5.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: graphforge-0.5.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 50.1 MB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ x86-64
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e33ddee0de4904bd09bd6056e56608f4fb8e90d3b60b5464b2ac0c896ecae68b
|
|
| MD5 |
c345368ba83ce0d22f4becfaa4c31d30
|
|
| BLAKE2b-256 |
4f0273330de9c29ed06bad23a8868a27441422da8e8a27f0f01c4531e3af6444
|
File details
Details for the file graphforge-0.5.1-cp310-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: graphforge-0.5.1-cp310-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 44.7 MB
- Tags: CPython 3.10+, macOS 11.0+ ARM64
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e93a554d4733628b2ee72da96c1db566f10b4145743b854524ec5d194adf94d4
|
|
| MD5 |
d089fd6dd9fefe6e4c1a2914bcaef7d8
|
|
| BLAKE2b-256 |
b79e382f2a4e64e7cceb90840eaec5cbd20867a0a7063f794ad0262477efea1d
|