Skip to content

HelixDB/codebase-index

Repository files navigation

Codebase Ingestion into HelixDB via Python SDK

This is a codebase ingestion script for HelixDB. It uses tree-sitter to parse python code and create entities in the HelixDB instance.

Prerequisites

Python Environment

It is recommended to create a new virtual environment for this repository. After creating a virtual environment, you can install the required packages:

uv sync

or pip to install the dependencies:

pip install -r requirements.txt

Installing the Helix CLI

curl -sSL "https://install.helix-db.com" | bash
helix install

Usage

Starting the Helix instance

helix deploy

Ingesting a codebase

Ingesting the whole codebase:

python3 ingestion.py

Ingesting a specific part of the codebase:

python ingestion.py <path_to_codebase>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •