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

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

graphforge-0.5.2.tar.gz (2.3 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

graphforge-0.5.2-cp310-abi3-win_amd64.whl (43.8 MB view details)

Uploaded CPython 3.10+Windows x86-64

graphforge-0.5.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (50.1 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

graphforge-0.5.2-cp310-abi3-macosx_11_0_arm64.whl (44.7 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

File details

Details for the file graphforge-0.5.2.tar.gz.

File metadata

  • Download URL: graphforge-0.5.2.tar.gz
  • Upload date:
  • Size: 2.3 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

Hashes for graphforge-0.5.2.tar.gz
Algorithm Hash digest
SHA256 2d6c8d55f35a32b14cbab108fce3c413829748dfac8d08354a3a3e74529f08f6
MD5 e93974f2f0b56413945b1dd5eb4d35d2
BLAKE2b-256 323f8159444432b5c20504fb16c0f5b6826e42d7ba3ead576c185112990cdb5d

See more details on using hashes here.

File details

Details for the file graphforge-0.5.2-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: graphforge-0.5.2-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 43.8 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

Hashes for graphforge-0.5.2-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 fe01843809c1bd505eaa9d3ab8577c1d31669f1d4c4e6305d9796248452af2a2
MD5 287ed6be408fc44ae412e73c4e0eecf6
BLAKE2b-256 d00fd11db7d2f99c3f9a030e71c6153d7cb875dd0328f7192fdc232f6ab05496

See more details on using hashes here.

File details

Details for the file graphforge-0.5.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: graphforge-0.5.2-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

Hashes for graphforge-0.5.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dd6e66aa6d5c9e7338dab95ea0d71c07ffd70a3477aaa75e43c90983da9c39cd
MD5 a76ae07f8ff1367481287608451249ea
BLAKE2b-256 b43e30d08fd155c70189860770f36f84fabb7164e001994e4fc444b840b1f478

See more details on using hashes here.

File details

Details for the file graphforge-0.5.2-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: graphforge-0.5.2-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

Hashes for graphforge-0.5.2-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5cb148d586cccb1fd7641917e8d7d10959f29acc565b3bc86428bee0f6453d1f
MD5 98a736919611f3ded26e36c129b48ba8
BLAKE2b-256 7e9507e3323f06051898d61459a2658a4712e7830088a56c3fbcf59773370836

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page