GrapheekDB

discontinued

by Raphaël Braud (Nidus) · since 2014

Small pure-Python embedded graph database with pluggable LMDB or Kyoto Cabinet storage; unmaintained.

graphembedded libraryopen source (copyleft)legacy

discontinued. No releases since 0.0.25 (October 2020); the Bitbucket project is inactive.

Overview

GrapheekDB is a lightweight graph database written in pure Python by Raphaël Braud. It stores directed graphs of nodes and edges with arbitrary properties and offers a Gremlin-inspired, chainable traversal API with property indexes. Storage is pluggable: an in-memory backend for tests, or Kyoto Cabinet and LMDB key-value stores for persistence, and it could also run as a small server. Releases ran from 0.0.1 in January 2014 to 0.0.25 in October 2020, all still labelled pre-1.0, and the project has seen no activity since. Python developers who want an embedded graph today usually choose LadybugDB (the Kùzu fork), CozoDB or NetworkX on top of SQLite.

Strengths & trade-offs

Strengths

  • +Pure Python with no server to run
  • +Pluggable LMDB or Kyoto Cabinet persistence
  • +Chainable traversal API familiar to Gremlin users

Trade-offs

  • −Unmaintained since 2020 and never reached 1.0
  • −Pure-Python traversals are slow on large graphs
  • −GPL v3 limits embedding in proprietary software

Great for

  • +Small embedded graph prototypes in Python
  • +Learning how a graph layer maps onto a key-value store

Think twice for

  • −Large graphs
  • −Production services

Capabilities

Native or official first-party support · 2 of 25 tracked

✓Secondary indexes
✓Durable persistence
–Transactions
–Joins
–Full-text search
–Vector search
–Geospatial
–JSON
–Change data capture
–Triggers
–Stored procedures
–Materialized views
–TTL / expiry
–Pub/Sub
–Columnar storage
–In-memory
–Compression
–Encryption at rest
–Role-based access
–Time travel
–Branching
–Online schema changes
–Streaming ingest
–Offline sync
–Runs in WebAssembly

Scale & consistency

Comfortable data size
Small · ≤ 100 GB
Horizontal scaling
None
Multi-region
No
Transactions
Limited ACID
Consistency
Strong
Schema
Schemaless
Architecture
Embedded, Client server
Query languages
Gremlin-style Python traversal API

Deployment

Self-hosted Vendor-managed cloud Serverless Embedded Edge Kubernetes operator

Ecosystem

apis & protocolsPython API
client languagesPython

Alternatives to GrapheekDB

Compare all→
LadybugDBGraph20.7

Community-maintained continuation of Kùzu: embedded columnar graph database with Cypher.

grapheekdb vs ladybugdb →
CozoDBGraph13.9

Embedded Datalog database blending relational, graph and vector queries; dormant since 2024.

grapheekdb vs cozodb →
Neo4jGraph61.2

The default property-graph database, with Cypher, a big ecosystem and a managed cloud.

grapheekdb vs neo4j →
FalkorDBGraph28.5

Low-latency graph database using sparse matrices, the maintained successor to RedisGraph.

grapheekdb vs falkordb →
IndraDBGraph4.5

Rust graph database, inspired by Facebook's TAO, usable as an embedded library or a gRPC server.

grapheekdb vs indradb →
BitsyGraph1.4

Small embeddable Java graph database for TinkerPop: in-memory, ACID, persisted to readable JSON text files.

grapheekdb vs bitsy →

GrapheekDB FAQ

What is GrapheekDB?

GrapheekDB is a graph database by Raphaël Braud (Nidus), first released in 2014. GrapheekDB is a lightweight graph database written in pure Python by Raphaël Braud. It stores directed graphs of nodes and edges with arbitrary properties and offers a Gremlin-inspired, chainable traversal API with property indexes. Storage is pluggable: an in-memory backend for tests, or Kyoto Cabinet and LMDB key-value stores for persistence, and it could also run as a small server. Releases ran from 0.0.1 in January 2014 to 0.0.25 in October 2020, all still labelled pre-1.0, and the project has seen no activity since. Python developers who want an embedded graph today usually choose LadybugDB (the Kùzu fork), CozoDB or NetworkX on top of SQLite.

Is GrapheekDB open source?

Yes. GrapheekDB is open source. License: GNU GPL v3.

Does GrapheekDB support ACID transactions?

Partly. GrapheekDB offers limited ACID guarantees (for example, single-record or single-partition transactions), with strong consistency.

Does GrapheekDB scale horizontally?

GrapheekDB does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at small scale (≤ 100 GB).

How can I run GrapheekDB?

You can self-host it and embed it in your application.

What is GrapheekDB best for?

GrapheekDB is a strong fit for small embedded graph prototypes in Python and learning how a graph layer maps onto a key-value store. Think twice for large graphs.

What are the best alternatives to GrapheekDB?

Common alternatives to GrapheekDB include LadybugDB, CozoDB, Neo4j, FalkorDB and IndraDB. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

Is GrapheekDB still maintained?

GrapheekDB is discontinued. No releases since 0.0.25 (October 2020); the Bitbucket project is inactive.

How popular is GrapheekDB?

GrapheekDB ranks #607 of 844 databases on the WhichDB Score (0.8/100), and #39 among graph databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.