readcon-db 0.1.1

Mmap-backed CON frame corpus (Heed/LMDB), xxHash exact match, multi-language FFI
Documentation
//! Embedded CON/convel corpus on LMDB (Heed) with non-SQL selection and xxHash3 exact match.
//!
//! Optional `python` feature builds PyO3 bindings. C ABI is always compiled into
//! `cdylib`/`staticlib` (`src/ffi.rs`).

mod cooked_soa;
mod corpus;
mod frame_scalars;
mod error;
mod export_xyz;
mod keys;
mod select;
mod shard;

pub use cooked_soa::CookedSoa;
pub use corpus::{frame_fmax, ConCorpus};
pub use frame_scalars::{frame_cell_volume, frame_total_mass};
pub use error::{Error, Result};
pub use export_xyz::{write_frame_extxyz, write_frames_extxyz};
pub use keys::{
    composition_formula, hash_frame_bytes, species_counts_from_symbols, ContentHash, FrameIdx,
    FrameKey, TrajId,
};
pub use select::Select;
pub use shard::{join_corpus_dirs, CorpusExportKind, ShardedConCorpus, ShardManifest, DEFAULT_N_SHARDS};

pub mod ffi;

#[cfg(feature = "python")]
mod python;