Skip to content

Commit 6c1949c

Browse files
authored
Merge pull request #15 from Open-Quant/feat/oq-nbr-1-data-module
perf(data): LazyFrame-native openquant.data path + benchmark scaffold
2 parents 1fc3d22 + d811710 commit 6c1949c

39 files changed

Lines changed: 7677 additions & 163 deletions

Cargo.lock

Lines changed: 1994 additions & 157 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
[workspace]
22
members = ["crates/openquant", "crates/pyopenquant"]
33
resolver = "2"
4+
5+
[patch.crates-io]
6+
pyo3-polars = { path = "vendor/pyo3-polars" }

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ python3 scripts/check_bench_thresholds.py --baseline benchmarks/baseline_benchma
4141
## Research Flywheel (Python + Rust)
4242
```bash
4343
# Python env + bindings
44-
uv venv --python 3.11 .venv
44+
uv venv --python 3.13 .venv
4545
uv sync --group dev
4646
uv run --python .venv/bin/python maturin develop --manifest-path crates/pyopenquant/Cargo.toml
4747

@@ -51,6 +51,9 @@ uv run --python .venv/bin/python python experiments/run_pipeline.py --config exp
5151

5252
# Rust notebook-companion smoke
5353
cargo run -p openquant --example research_notebook_smoke
54+
55+
# Python pipeline micro-benchmark (for speed demos)
56+
uv run --python .venv/bin/python python python/benchmarks/benchmark_pipeline.py --iterations 30 --bars 2048
5457
```
5558

5659
## Crate Layout

crates/openquant/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ statrs = "0.16"
2020
rand_distr = "0.4"
2121
nalgebra = "0.32"
2222
csv = "1"
23+
polars = { version = "0.46", default-features = false, features = ["strings", "lazy"] }
2324

2425
[dev-dependencies]
2526
csv = "1"

0 commit comments

Comments
 (0)