/graphdb-demo

Example code and notebooks to explore use cases in Kùzu

Primary LanguageJupyter NotebookMIT LicenseMIT

Kùzu logo

An in-process graph database built for query speed and scalability

Discord Twitter

Graph demos and use cases

This repo contains recipes and starter code for various graph use cases in Kùzu. Feel free to clone/fork the repo and modify the code for your own projects!

Getting Started

In addition to a command line tool, Kùzu has a number of client libraries available that allow you to interface with the database in your language of choice. Currently, the following languages are supported:

  • Python
  • Node.js
  • C++
  • C
  • Java
  • Rust

You can find the latest list of language clients in the docs.

Setting up Kùzu

Kùzu is an embedded database that runs in-process, so there's no server to set up. Simply install the client library for your language of choice and you're ready to go! A couple of examples are shown below.

Python

For Python users using local Jupyter notebooks or Python scripts, it's recommended to install Kùzu as follows:

# Set up a virtual environment using the uv package manager
# https://github.com/astral-sh/uv
uv venv
source .venv/bin/activate
# Install kuzu
uv pip install kuzu

JavaScript

For Node.js users, install the kuzu package via npm.

# Assuming Node.js 19+ is installed
npm install kuzu