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!
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.
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.
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
For Node.js users, install the kuzu
package via npm
.
# Assuming Node.js 19+ is installed
npm install kuzu