"""海关元器件统计引擎(参考实现,可整体替换)。 模块划分: * ``numbers`` —— Decimal 精确运算、缺失值传播、样本权重封顶; * ``rules`` —— 规则库与 G_MODEL 申报要素解析、两轮应用领域匹配; * ``storage`` —— 源文件流式入库(CSV/XLSX → SQLite)与聚合入口; * ``excel`` —— xlsx / CSV / SQLite 三路输出与行级哈希; * ``reports`` —— 16 张模板表 + 7 张补充表的口径实现; * ``pipeline`` —— 编排入口,被 ``toolsvc.customs.pipeline`` 调用。 """ from .numbers import D, growth, index_of, number, ratio, weights from .rules import MEMORY_HS, Rules, norm from .storage import DIMENSIONS, Store, connect, ingest, week_rows __all__ = [ "D", "number", "ratio", "growth", "index_of", "weights", "Rules", "norm", "MEMORY_HS", "DIMENSIONS", "Store", "connect", "ingest", "week_rows", ]