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)
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.7.8.0.tar.gz
(540.6 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.7.8.0-py3-none-any.whl
(332.9 kB
view details)
File details
Details for the file lidb-2026.7.8.0.tar.gz.
File metadata
- Download URL: lidb-2026.7.8.0.tar.gz
- Upload date:
- Size: 540.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.7.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25b95f3017bd6b2ca88ebf1447fe867875ed8014bdb1e81e53ad1fee02a89839
|
|
| MD5 |
b0a9e1c794afcf58e676bfd694756155
|
|
| BLAKE2b-256 |
8de74577be4366cb08cddbb8c298e946d42c60830f3f2165c23cb18a139fff6f
|
File details
Details for the file lidb-2026.7.8.0-py3-none-any.whl.
File metadata
- Download URL: lidb-2026.7.8.0-py3-none-any.whl
- Upload date:
- Size: 332.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.7.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8c65f32732f2e2654a5b1dcd6ba2879df4b043de76e9c49cecb379d4a00fb67
|
|
| MD5 |
ba9d1d907b4878025a6b6ad57e82bca2
|
|
| BLAKE2b-256 |
ac4e92a5e7c29806ac249a553deaa2b669cb8826abc9b7007e308cb47c22edd3
|