Mmap CON corpus store (LMDB/Heed) with xxHash exact match
Actively maintained. Last release 2 days ago, commits in 15 of the last 26 weeks. A safe choice.
pip install readcon-dbreadcon-db
Mmap-backed CON/convel corpus store (LMDB via Heed), non-SQL selection, xxHash3-128 exact match, and Rust / C / C++ / Python / Fortran bindings.
Part of the readcon ecosystem with readcon-core (Python package readcon):
| Crate / package | Role | Docs |
|---|---|---|
readcon-core / readcon | CON interchange (parse/write/spec v2–v3). XYZ/PDB/GRO → ConFrame via chemfiles (read_chemfiles*), not ASE. Optional to_ase only for calculators. | Core README, docs/orgmode/ |
readcon-db / readcon_db (this repo) | mmap CON corpus: indexes (natoms, symbols, energy range, forces/velocities/energy flags), multi-reader, dedup. Blobs are CON text decoded with readcon-core. | docs, docs/orgmode/explanation/design.org |
ASE is not on the CON or XYZ read path. Optional to_ase is calculator hand-off only.
Install
cargo add readcon-db
cargo install readcon-db --locked # CLI
pip install readcon-db # module readcon_db (PyPI)
# C/C++: FetchContent / meson dependency('readcon-db') / pkg-config
# headers in include/ are shipped; cbindgen is not required
# Prebuilt C ABI (no cargo): readcon-db-clib-$VER-$target.tar.gz on the GitHub Release
Docs: https://lode-org.github.io/readcon-db/ · crate: https://crates.io/crates/readcon-db
Quick start (from source)
Outside Windows a source build also needs CMake: readcon-core links zlib-ng, which builds with CMake.