Pometry/Raphtory

Scalable graph analytics database powered by a multithreaded, vectorized temporal engine, written in Rust

What it is Raphtory is a graph database—software that stores data as nodes (things) and edges (connections between them)—built in Rust with an easy Python interface. Unlike a typical graph database, it keeps track of when each connection happened, so you can ask time-based questions like "who was connected to whom last week?" It's optimised for speed and memory, and the README says it can handle hundreds of millions of edges on a laptop.

How you get it

  • Python: pip install raphtory (Python 3.8 or higher)
  • Rust: cargo add raphtory (Rust 1.77 or higher)

What you can do with it

  • Add nodes and edges with timestamps, then query them.
  • "Time travel": look at the graph as it was at any moment, or roll through it in time windows.
  • Run advanced analytics on top of the data: the README mentions automatic risk detection, dynamic scoring, and temporal motifs (patterns that repeat over time).
  • Full-text search and multilayer modelling (representing multiple types of relationships at once).
  • The example in the README shows creating a small graph, checking how connections changed over time, and running PageRank (an algorithm that ranks how important each node is).

How it runs You can use it two ways:

  1. Embedded—directly in your Python or Rust program.
  2. As a server—host your graph in a GraphQL server (a query language for APIs). This server comes with a web playground for experimenting with queries and a visual UI for browsing and visualising the graph in your browser (default port 1736).

Notable capability A "subscription model" lets Raphtory scale beyond main memory by using disk storage, with no performance loss (per the README).

Community and licensing

  • Licensed under the GNU General Public License v3.0.
  • You can join the Slack community, and the project runs a bounty board where contributors get swag for implementing new features or algorithms.
  • A benchmark page is updated on every push to the master branch.

Related

  • Project
  • Project
  • Project
  • Project