luc4t / graphdb-demo

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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ùzuDB. Feel free to clone/fork the repo and use the code in your own projects!

Getting Started

In addition to a command line utility, Kùzu has a number of client SDKs available allowing 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 SDKs 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 SDK 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, simply install the kuzu package via pip.

# Set up a virtual environment
python -m venv venv
source venv/bin/activate
# Assuming Python 3.8+ is installed
pip install kuzu

JavaScript

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

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

About

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

License:MIT License


Languages

Language:Python 100.0%