"""海关原始数据处理工具(可整体替换的独立模块)。 对外只需要这两个东西: .. code-block:: python from toolsvc.customs import load_processor, CustomsProcessRequest, CustomsOptions result = load_processor().process( CustomsProcessRequest(input_path="customs.csv", output_dir="runs/run-1"), ) ``engine/`` 里是本项目参考实现的业务算法(规则库、入库、16 张模板表)。 替换说明见 ``README.md``。 """ from .contract import ( OPERATIONS, CustomsOptions, CustomsProcessRequest, CustomsProcessResult, CustomsProcessor, ProcessorError, SheetInfo, ) from .factory import DEFAULT_SPEC, load_processor, reset_processor __all__ = [ "OPERATIONS", "CustomsOptions", "CustomsProcessRequest", "CustomsProcessResult", "CustomsProcessor", "ProcessorError", "SheetInfo", "DEFAULT_SPEC", "load_processor", "reset_processor", ]