ladybug
Ladybug is an embedded graph database built for query speed and scalability.
Wraps a native library — check OS Compatibility below for platform-specific linking notes.
Summary
| Latest Version | 0.10.2 |
|---|---|
| License | BSD-3-Clause |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:26 |
Tags
Authors
- Mahlon E. Smith
Installation
nimble install ladybug
choosenim install ladybug
git clone https://github.com/mahlonsmith/nim-ladybug
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| ladybug | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Dependencies
| Package | Version | Optional |
|---|---|---|
| nim ^= | 2.0.0 | No |
Source
| Repository | https://github.com/mahlonsmith/nim-ladybug |
|---|---|
| Homepage | https://ladybugdb.com/ |
| Registry Source | nimble_official |
README
Nim Ladybug
home : https://code.martini.nu/mahlon/nim-ladybug
github_mirror : https://github.com/mahlonsmith/nim-ladybug
Description
This is a Nim binding for the LadybugDB graph database library.
Ladybug is an embedded graph database built for query speed and scalability. It is optimized for handling complex join-heavy analytical workloads on very large graphs, with the following core feature set:
- Property Graph data model and Cypher query language
- Embedded (in-process) integration with applications
- Columnar disk-based storage
- Columnar, compressed sparse row-based (CSR) adjacency list/join indices
- Vectorized and factorized query processor
- Novel and very fast join algorithms
- Multi-core query parallelism
- Serializable ACID transactions
For more information about Ladybug itself, see its documentation.
Prerequisites
- A functioning Nim >= 2 installation
- LadybugDB to be locally installed!
Installation
$ nimble install ladybug
The current version of this library is built for Ladybug v0.18.2.
Usage
See the Usage documentation.
You can also find a bunch of working examples in the tests.
Contributing
You can check out the current development source via Git/Jujutsu at its home repo, or the project mirror.
After checking out the source, uncomment the development dependencies
from the ladybug.nimble file, and run:
$ nimble setup
This will install dependencies, and do any other necessary setup for development.
Authors
- Mahlon E. Smith mahlon@martini.nu
A note of thanks to @mantielero on Github, who has a Kuzu binding for an early KuzuDB (0.4.x) that I found after starting this project (the predecessor to LadybugDB.)