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.1.tar.gz (402.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.1-cp310-abi3-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.10+Windows x86-64

graphdblite-0.1.1-cp310-abi3-musllinux_1_2_x86_64.whl (3.2 MB view details)

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

graphdblite-0.1.1-cp310-abi3-musllinux_1_2_aarch64.whl (3.0 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

graphdblite-0.1.1-cp310-abi3-manylinux_2_28_x86_64.whl (3.0 MB view details)

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

graphdblite-0.1.1-cp310-abi3-manylinux_2_28_aarch64.whl (2.7 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

graphdblite-0.1.1-cp310-abi3-macosx_11_0_arm64.whl (2.6 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

graphdblite-0.1.1-cp310-abi3-macosx_10_12_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: graphdblite-0.1.1.tar.gz
  • Upload date:
  • Size: 402.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.1.tar.gz
Algorithm Hash digest
SHA256 06da04c5033eda6394cc1bb0d6631fb9620b21fab4aa4910abccbcc5e94f0c00
MD5 69a6894f9b7b8551411843aa60d4f318
BLAKE2b-256 c4427a3c9ae3abd3b3aeb00a10c4ed9c150156f30993b6dcb5b9479c43361dc1

See more details on using hashes here.

Provenance

The following attestation bundles were made for graphdblite-0.1.1.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.1-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: graphdblite-0.1.1-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 2.7 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.1-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 aa08b4f4c8492d42ce0f130b94c6d8ac55438c3493b2fa3e6193dc507d8c2e31
MD5 64c326d588b94e7e8877385292e0151f
BLAKE2b-256 01d0c82833dad49ab87fe42d93c199c763ab94a12d03e3696666c814ac428b46

See more details on using hashes here.

Provenance

The following attestation bundles were made for graphdblite-0.1.1-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.1-cp310-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for graphdblite-0.1.1-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0951ac3f25bd101c0c83994948ebd84fdf28da9cd3a914942f3586d49308ce6e
MD5 4de24456c63fc50fb162886f100cd69e
BLAKE2b-256 1b34a51bb39eb5adc3c45085b6f7224b02e8ead179a399e1acc4c091bb11dcd2

See more details on using hashes here.

Provenance

The following attestation bundles were made for graphdblite-0.1.1-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.1-cp310-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for graphdblite-0.1.1-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 21893939d85b27c66c1cb60d77f5e22531fbd971e17d91e025940e3255be4175
MD5 48e1fe0dc6833887aad24c8032b74fe8
BLAKE2b-256 6ce6c99e56fc7c21aa3e4ee6701ca25a474b0aec894c79e4a430304b43b6890f

See more details on using hashes here.

Provenance

The following attestation bundles were made for graphdblite-0.1.1-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.1-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for graphdblite-0.1.1-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b01164bc01b29a22d5bf65c7747d7f4e19718e79e5a40a3b36491689df677976
MD5 ac54375632c3eea25bcfa7c0ccc6ae9b
BLAKE2b-256 3735b9ef35a3ae6fa0b673ec9e12ffbbbf82f70898be3807e210af1bea843635

See more details on using hashes here.

Provenance

The following attestation bundles were made for graphdblite-0.1.1-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.1-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for graphdblite-0.1.1-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3086a67acefdb8136f437846594debef1723c722b92762bcf0eb419b00bf7fce
MD5 be15c68b27c52f1b7f588e38047db884
BLAKE2b-256 da3e950bb785b606167b8772f3f1dcc9c74ccde8d37969706c186feaf8e9fe7d

See more details on using hashes here.

Provenance

The following attestation bundles were made for graphdblite-0.1.1-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.1-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for graphdblite-0.1.1-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 be9df38f5b692dc027c035d3129f72fc5192164cb614f3fa4c40f179612c3fd0
MD5 e54b6321f4273b606886d99f8bd351f7
BLAKE2b-256 4b37df163a2b993d369ded289245a2d9187a91b7b59df4fe60ce83eeeee1540b

See more details on using hashes here.

Provenance

The following attestation bundles were made for graphdblite-0.1.1-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.1-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for graphdblite-0.1.1-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e66b78284a90099c9a2515697daa9ac02302df5edd19ba8f1037a159c1e5e269
MD5 71905560b9912a64a686ee9d285a4959
BLAKE2b-256 9879acdb31eca7c3219bb63f011f4ca3ee3d212a7c4ef00fd1abe69879aa8eeb

See more details on using hashes here.

Provenance

The following attestation bundles were made for graphdblite-0.1.1-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