Ladybug
Exports data to a Ladybug graph database. Ladybug is a maintained fork of Kuzu that carries forth the original vision of Kuzu, with added functionality for the lakehouse ecosystem. Just like Kuzu, Ladybug follows the structured property graph model and functions as a fast, embedded database with a permissive (MIT) license.
Get Started
Read Property Graph Targets for more information to get started on how it works in CocoIndex.
Spec
CocoIndex supports talking to Ladybug through its API server. You can run the server from LadybugDB/api-server.
The Ladybug target spec takes the following fields:
connection(auth reference toLadybugConnectionSpec): The connection to the Ladybug database.LadybugConnectionSpechas the following fields:api_server_url(str): The URL of the Ladybug API server, e.g.http://localhost:8123.
mapping(Nodes | Relationships): The mapping from collected row to nodes or relationships of the graph. For either nodes to export or relationships to export.
Ladybug also provides a declaration spec LadybugDeclaration, to configure indexing options for nodes only referenced by relationships. It has the following fields:
connection(auth reference toLadybugConnectionSpec)- Fields for nodes to declare, including
nodes_label(required)primary_key_fields(required)
Ladybug API server
For running the API server locally or in Docker, follow the instructions in the Ladybug documentation.
Python client
If you want the Ladybug Python client, install it with:
pip install real_ladybug