| Crates.io | gluex-ccdb-py |
| lib.rs | gluex-ccdb-py |
| version | 0.1.3 |
| created_at | 2025-12-18 17:05:28.733178+00 |
| updated_at | 2026-01-22 18:32:54.00839+00 |
| description | Python bindings for the gluex-ccdb Rust crate |
| homepage | https://github.com/denehoffman/gluex-rs |
| repository | https://github.com/denehoffman/gluex-rs |
| max_upload_size | |
| id | 1992885 |
| size | 58,147 |
Python bindings around the gluex-ccdb Rust crate. They expose lightweight wrappers for CCDB
directories, tables, and columnar payloads without compromising type information.
uv pip install gluex-ccdb
import gluex_ccdb as ccdb
client = ccdb.CCDB("/data/ccdb.sqlite")
tables = client.fetch("/PHOTON_BEAM/pair_spectrometer/lumi/trig_live", runs=[55_000, 55_005])
for run, dataset in tables.items():
print(f"columns: {dataset.column_names()}")
livetime = float(dataset.column(1).row(0))
print(f"run {run}: livetime = {livetime:.3f}")
Dual-licensed under Apache-2.0 or MIT.