graphqlite  by colliery-io

SQLite extension for graph databases with Cypher

Created 8 months ago
293 stars

Top 90.2% on SourcePulse

GitHubView on GitHub
Project Summary

GraphQLite is an SQLite extension that brings native graph database capabilities and Cypher query language support to a zero-configuration, single-file embedded database. It empowers developers and researchers to store, query, and analyze graph-structured data directly within SQLite, leveraging Cypher's expressive power and built-in graph algorithms without requiring a separate database server.

How It Works

This project extends SQLite by embedding graph database functionalities. It allows users to store nodes and edges alongside traditional relational data within an SQLite file. Queries are expressed using the Cypher query language, enabling complex relationship traversals and pattern matching. The extension also integrates several common graph algorithms, facilitating in-database analysis.

Quick Start & Requirements

Installation is straightforward across multiple platforms: brew install graphqlite for macOS/Linux, pip install graphqlite for Python users, or cargo add graphqlite for Rust projects. No server setup or complex configuration is needed, as it operates directly on SQLite files. Full documentation and examples are available.

Highlighted Details

  • Full Cypher query support, including MATCH, CREATE, MERGE, SET, DELETE, WITH, UNWIND, and RETURN clauses.
  • Integrated graph algorithms such as PageRank, Louvain, Dijkstra, BFS/DFS, and connected components.
  • Zero-configuration, embedded operation directly within any SQLite database file.
  • Multiple language bindings available for Python, Rust, and raw SQL interfaces.
  • Demonstrates advanced use cases like GraphRAG with LLMs.

Maintenance & Community

No specific details regarding maintainers, community channels (like Discord/Slack), or recent activity were provided in the README snippet.

Licensing & Compatibility

The project is released under the permissive MIT license. This license generally allows for broad compatibility with commercial and closed-source applications, permitting use, modification, and distribution with minimal restrictions.

Limitations & Caveats

As an SQLite extension, GraphQLite inherits SQLite's inherent limitations regarding extreme concurrency and massive dataset scalability compared to dedicated distributed graph databases. The README does not specify any alpha/beta status or known bugs.

Health Check
Last Commit

1 week ago

Responsiveness

Inactive

Pull Requests (30d)
12
Issues (30d)
20
Star History
63 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems") and Elvis Saravia Elvis Saravia(Founder of DAIR.AI).

llm-graph-builder by neo4j-labs

0.6%
5k
LLM app builds Neo4j graphs from unstructured data
Created 2 years ago
Updated 4 days ago
Feedback? Help us improve.