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.12.0.tar.gz
(684.0 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.12.0-py3-none-any.whl
(386.2 kB
view details)
File details
Details for the file lidb-2026.7.12.0.tar.gz.
File metadata
- Download URL: lidb-2026.7.12.0.tar.gz
- Upload date:
- Size: 684.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.7.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91f853c1551ccd3267293922803145a27d96ac37f88862c63efe0779861a009c
|
|
| MD5 |
32b82e1ac4f90b131c601b6180381f36
|
|
| BLAKE2b-256 |
94d80a68c72b7ed3180ffa6ba16feee61e1a5e233be871e9fb3b09752a89bbd0
|
File details
Details for the file lidb-2026.7.12.0-py3-none-any.whl.
File metadata
- Download URL: lidb-2026.7.12.0-py3-none-any.whl
- Upload date:
- Size: 386.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.7.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ea2b33adeb78a2be4be8c10088af39f664cad410260c14956d067fe4d53098b
|
|
| MD5 |
c03818e15e5f2cc124d9b3cb4ed3af35
|
|
| BLAKE2b-256 |
320ad4204db770381bab7c65d45a475aac05224c8c471dc6b7414bac8df19b6d
|