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
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
Metadata
Release files for graphforge 0.5.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| graphforge-0.5.2.tar.gz | 2.3 MB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| graphforge-0.5.2-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details |
| graphforge-0.5.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.17+ x86-64 | Details |
| graphforge-0.5.2-cp310-abi3-macosx_11_0_arm64.whl | CPython 3.10 | abi3 | macOS 11.0+ ARM64 | Details |
Total release size: 140.9 MB
Release files / graphforge-0.5.2.tar.gz
| Download URL | graphforge-0.5.2.tar.gz |
|---|---|
| Size | 2.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d6c8d55f35a32b14cbab108fce3c413829748dfac8d08354a3a3e74529f08f6
|
|
BLAKE2b-256 checksum How to use checksums |
323f8159444432b5c20504fb16c0f5b6826e42d7ba3ead576c185112990cdb5d
|
| 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.2-cp310-abi3-win_amd64.whl
| Download URL | graphforge-0.5.2-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 43.8 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
fe01843809c1bd505eaa9d3ab8577c1d31669f1d4c4e6305d9796248452af2a2
|
|
BLAKE2b-256 checksum How to use checksums |
d00fd11db7d2f99c3f9a030e71c6153d7cb875dd0328f7192fdc232f6ab05496
|
| 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.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | graphforge-0.5.2-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 |
dd6e66aa6d5c9e7338dab95ea0d71c07ffd70a3477aaa75e43c90983da9c39cd
|
|
BLAKE2b-256 checksum How to use checksums |
b43e30d08fd155c70189860770f36f84fabb7164e001994e4fc444b840b1f478
|
| 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.2-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | graphforge-0.5.2-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 |
5cb148d586cccb1fd7641917e8d7d10959f29acc565b3bc86428bee0f6453d1f
|
|
BLAKE2b-256 checksum How to use checksums |
7e9507e3323f06051898d61459a2658a4712e7830088a56c3fbcf59773370836
|
| 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}
|