Skip to main content

Embedded graph database with Cypher support

Project description

graphdblite

Embedded graph database with Cypher query support, backed by SQLite.

  • Embedded. Single file, no server, no configuration — like SQLite.
  • Graph-first. Cypher queries, adjacency-list storage, graph-aware query planning.
  • Multi-process safe. Multiple processes can read and write concurrently. ACID via SQLite.
  • openCypher TCK conformance: 100% (3895/3895 scenarios).

Install

pip install graphdblite

Pre-built wheels are published for Linux (glibc + musl, x86_64 + aarch64), macOS (x86_64 + aarch64), and Windows (x86_64).

Quick start

from graphdblite import Database

db = Database("my.db")

db.execute("CREATE (a:Person {name: 'Alice'})-[:KNOWS]->(b:Person {name: 'Bob'})")

results = db.query("MATCH (a)-[:KNOWS]->(b) RETURN a.name, b.name")
for row in results:
    print(row["a.name"], "→", row["b.name"])

Cypher coverage

MATCH (a:Person)-[:KNOWS]->(b:Person) WHERE a.age > 25 RETURN a.name, b.name
MATCH (a)-[:KNOWS*1..3]->(b) RETURN b                  // variable-length paths
MATCH p = shortestPath((a)-[:KNOWS*]->(b)) RETURN p    // shortest path
MERGE (n:Person {name: 'Alice'}) ON CREATE SET n.created = true

Clauses, expressions, 50+ functions, full reference: Cypher reference.

Documentation

License

MIT

Project details


Download files

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

Source Distribution

graphdblite-0.1.2.tar.gz (472.7 kB view details)

Uploaded Source

Built Distributions

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

graphdblite-0.1.2-cp310-abi3-win_amd64.whl (3.3 MB view details)

Uploaded CPython 3.10+Windows x86-64

graphdblite-0.1.2-cp310-abi3-musllinux_1_2_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ x86-64

graphdblite-0.1.2-cp310-abi3-musllinux_1_2_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

graphdblite-0.1.2-cp310-abi3-manylinux_2_28_x86_64.whl (3.8 MB view details)

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

graphdblite-0.1.2-cp310-abi3-manylinux_2_28_aarch64.whl (3.5 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

graphdblite-0.1.2-cp310-abi3-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

graphdblite-0.1.2-cp310-abi3-macosx_10_12_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file graphdblite-0.1.2.tar.gz.

File metadata

  • Download URL: graphdblite-0.1.2.tar.gz
  • Upload date:
  • Size: 472.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for graphdblite-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5d7ff03e51ec1062e9148ede6b8d9aafcad570c34381a61c2ae38fd3e9b84bd8
MD5 25931096f89c126a8448d15b4757cf35
BLAKE2b-256 c4fab88a878bc79b97abb871f81e24aa80c226b811b5f306207f9d8f65af0c14

See more details on using hashes here.

Provenance

The following attestation bundles were made for graphdblite-0.1.2.tar.gz:

Publisher: python-wheels.yml on ds7n/graphdblite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file graphdblite-0.1.2-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: graphdblite-0.1.2-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for graphdblite-0.1.2-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0d6413f56d8bc172b7c8128244f58f32390d3d63198b79b8a57df48d072ebce3
MD5 9c4cca72b3495aca05e0937100538eba
BLAKE2b-256 ab5ec073b051a0775d33d15a41f2a46eb7ba6beaad9af7a3a2cb3f8141ce7fe0

See more details on using hashes here.

Provenance

The following attestation bundles were made for graphdblite-0.1.2-cp310-abi3-win_amd64.whl:

Publisher: python-wheels.yml on ds7n/graphdblite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file graphdblite-0.1.2-cp310-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for graphdblite-0.1.2-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 503925b3e2bcd1028079b96aa0e48476ed641dd53ed210ba47fb9a915eab0a65
MD5 ca46c6782199ef97b0f8b28da2ade778
BLAKE2b-256 a0c100a0b63dff54864e59715e147957508e0b29bd518e7ef8a40340944328e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for graphdblite-0.1.2-cp310-abi3-musllinux_1_2_x86_64.whl:

Publisher: python-wheels.yml on ds7n/graphdblite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file graphdblite-0.1.2-cp310-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for graphdblite-0.1.2-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 04b408ae754055392b182b760ee203604a87b57e50c4b72182eee762c14c6ccc
MD5 4dc9eb6938d04f1fdf52796431d91e5b
BLAKE2b-256 64cfe43ecf1883e6da6d5e0db45b935af857a868037f5b3cc295f4bc9e2c4b09

See more details on using hashes here.

Provenance

The following attestation bundles were made for graphdblite-0.1.2-cp310-abi3-musllinux_1_2_aarch64.whl:

Publisher: python-wheels.yml on ds7n/graphdblite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file graphdblite-0.1.2-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for graphdblite-0.1.2-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ce4227df1462155cfb7d1628d98eb9c3f0095e9c494f8c68da1ba0178f4acea9
MD5 3b41b8939543c4dc4eec7a384be02c16
BLAKE2b-256 3a8a42659702a181bce475061f4c8ac82d45a7f33275e15592dd5d8f0ffff5ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for graphdblite-0.1.2-cp310-abi3-manylinux_2_28_x86_64.whl:

Publisher: python-wheels.yml on ds7n/graphdblite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file graphdblite-0.1.2-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for graphdblite-0.1.2-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f1ea4e343b1028de74a42a96c32ed4a4340fc627e8b3eb7d3ea8fd93281bbbfb
MD5 bde4cc74567ac9795bb8501af763f290
BLAKE2b-256 f1581820d36905ed619129cc476bd8dcd8cd4e89f1a56d6a2b58f8bd04359a29

See more details on using hashes here.

Provenance

The following attestation bundles were made for graphdblite-0.1.2-cp310-abi3-manylinux_2_28_aarch64.whl:

Publisher: python-wheels.yml on ds7n/graphdblite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file graphdblite-0.1.2-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for graphdblite-0.1.2-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2d5f6038bba2ed1cb346420d8b85936c5ce923a14f6fa3310568f8a618962559
MD5 a652314759132389caa88036c8d39835
BLAKE2b-256 78184bbf2e02183d807abe9aac681417a060b00efb15a9822176ab69e7549ff6

See more details on using hashes here.

Provenance

The following attestation bundles were made for graphdblite-0.1.2-cp310-abi3-macosx_11_0_arm64.whl:

Publisher: python-wheels.yml on ds7n/graphdblite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file graphdblite-0.1.2-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for graphdblite-0.1.2-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 591ad0c6543278df4f3d203ccf7ed22d4c073ef9f05599d828013f96dd9e8356
MD5 528d1bf438889b0b786399b10ae6c7cf
BLAKE2b-256 80f81fd8cc4b9cfd7c4459b5209588df1ac2864fafdedf5fb3182e8695bbb901

See more details on using hashes here.

Provenance

The following attestation bundles were made for graphdblite-0.1.2-cp310-abi3-macosx_10_12_x86_64.whl:

Publisher: python-wheels.yml on ds7n/graphdblite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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