Welcome to Graphlite

Graphlite is a tiny graph datastore that stores adjacency lists similar to FlockDB but like conventional graph databases, allow you to query them with traversals (graph-walking queries), and works with datasets that you can fit into your SQLite database.

from graphlite import connect, V
graph = connect(':memory:', graphs=['knows'])

with graph.transaction() as tr:
    for i in range(2, 5):

# who are the friends of the mutual friends
# of both 1 and 2?

If you are not familiar or new to the library perhaps you should check out Introduction to Graphlite. Else, you are most likely looking for the API Documentation.

Indices and tables

Table Of Contents

Next topic

Introduction to Graphlite

This Page