Light database for quantor
Project description
lidb
lidb is a lightweight quant data processing library (Light Database for Quantor), providing dataset management with dependency tracking, topological scheduling, and partitioned parquet storage.
Features
- Dataset management with dependency tracking and automatic backfill
- Topological DAG scheduler — dependency graph → layer-parallel execution
- Full-cache fast path — scan-only when all dates cached, skip scheduler
@datasetdecorator — convert functions to Dataset objects- Hive-style partition storage (date=xxx/asset=xxx/data.parquet)
- Expression engine (QDF) for factor computation
Installation
# PyPI(发布版本)
pip install lidb
# GitHub(最新开发版本)
pip install -e "lidb @ git+ssh://git@github.com/link-yundi/lidb.git"
Documentation
See API Documentation for detailed usage.
Quick Start
from lidb import Dataset
from lidb import dataset as ds_deco
# Define a dataset via @dataset decorator
@ds_deco
def my_dataset(depend: Dataset):
return depend.get_value("2024-01-01")
# Get data
data = my_dataset.get_value("2024-01-01")
License
MIT License
Version
2026.5.13.3 (YYYY.M.D.N scheme)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lidb-2026.5.14.16.tar.gz
(466.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
lidb-2026.5.14.16-py3-none-any.whl
(300.4 kB
view details)
File details
Details for the file lidb-2026.5.14.16.tar.gz.
File metadata
- Download URL: lidb-2026.5.14.16.tar.gz
- Upload date:
- Size: 466.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
282ceb541172480a2f2197af2aa768957c3df02a5ea3c3e3a1bee34f813bd493
|
|
| MD5 |
13dcadd5048773ae46efeff09cd013b9
|
|
| BLAKE2b-256 |
149ad1b3397e06f8cde6593e570f361117f42458b2fde26163c45380bd36dbed
|
File details
Details for the file lidb-2026.5.14.16-py3-none-any.whl.
File metadata
- Download URL: lidb-2026.5.14.16-py3-none-any.whl
- Upload date:
- Size: 300.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
448c1e48bc305dac936ca305ed7d1f398442136b98a315596be60ea2c427a2b0
|
|
| MD5 |
101b098d2543b4387b6a19ef55a0595a
|
|
| BLAKE2b-256 |
69f17293b6004781c7237b46ac6368a3c621687b1c40f1824b9d64e725d08aea
|