How jhon287/bnppf works
BNPPF is a batch importer for Easy Banking CSV statements: it detects each file’s CSV version, parses and classifies transaction rows, writes valid transactions to MariaDB/MySQL, and moves processed files to done or error directories. The README also mentions displaying information on a web page, but no web-page implementation appears in the supplied tree. The main and parser excerpts support the shown calls; SQL procedure details and any display subsystem were not sampled.
Main entry points: main.py Batch importer · bnppf.py Transaction parser · 00_procedures.sql Add transaction procedure · 00_schema.sql Transaction schema
Components 12
CSV ingestion
- Pending CSVs
- Batch importer
src/app/main.py - Completed CSVs
- Failed CSVs
Transaction processing
- Version detection
src/app/bnppf.py - Transaction parser
src/app/bnppf.py - Type classification
src/app/bnppf.py
Database persistence
- MariaDB / MySQL
- Add transaction procedure
sql/00_procedures.sql - Transaction schema
sql/00_schema.sql
Other components
- CSV operator
- Information web page
Connections 11
- CSV operator → Pending CSVs: provides CSVs
README.md - Batch importer → Pending CSVs: reads files
src/app/main.py - Batch importer → Version detection: detects version
src/app/main.py - Batch importer → Transaction parser: parses rows
src/app/main.py - Transaction parser → Type classification: classifies type
src/app/bnppf.py - Batch importer → MariaDB / MySQL: connects
src/app/main.py - Batch importer → Add transaction procedure: calls
- Add transaction procedure → Transaction schema: uses schema
- Batch importer → Completed CSVs: moves successful files
src/app/main.py - Batch importer → Failed CSVs: moves failed files
src/app/main.py - MariaDB / MySQL → Information web page: provides information
README.md