功能
为 `pacs.008` 及相关 pacs 报文定义生成 XML; 根据模式验证数据和 XML; 提供 FastAPI 服务用于自动化工作流
# Install
$ pip install pacs008
# Generate a pacs.008 message
from pacs008 import Pacs008Generator
gen = Pacs008Generator()
msg = gen.create(
debtor="ACME Corp",
creditor="Global Bank",
amount=50000.00,
currency="EUR"
)
gen.validate(msg) # XSD + business rules
gen.to_xml(msg) # ISO 20022 XMLISO 20022 compliant
Built against official ISO 20022 message schemas and SWIFT guidelines
Open source
MIT-licensed on GitHub with full transparency and community contributions
Available on PyPI
Production-ready Python package with semantic versioning