How fadilsnt/inv-quo-python works
This desktop invoice and quotation generator accepts data through either a command-line or Tkinter interface, calculates item totals, creates a watermarked PDF, and records invoice data in MySQL. The GUI also supports reviewing, editing, and deleting saved invoices. The excerpts show CLI calls and database access directly; GUI generation calls are not shown, so those links are documented at the product level rather than inferred from imports.
Main entry points: GUI_app.py GUI interface · CLI_main.py CLI interface · invoice_generator.py PDF generation · db_connect.py MySQL connection
Components 13
User interfaces
- CLI interface
CLI_main.py - GUI interface
GUI_app.py - CLI data entry
input_collect.py - Invoice manager
invoice_manager.py
Invoice workflow
- Totals calculation
GUI_app.py - PDF generation
invoice_generator.py
Invoice records
- Invoice persistence
invoice_generator.py - Record queries and edits
invoice_manager.py - MySQL connection
db_connect.py - MySQL database
- Invoice schema
invoice_system.sql
Generated files
- Saved PDFs
invoices
Other components
- User
Connections 15
- User → CLI interface: enters data
README.md - User → GUI interface: enters data
README.md - CLI interface → CLI data entry: collects data
CLI_main.py - CLI interface → PDF generation: generates PDF
CLI_main.py - CLI interface → Invoice persistence: saves record
CLI_main.py - GUI interface → Invoice manager: opens manager
GUI_app.py - GUI interface → Totals calculation: calculates totals
GUI_app.py - GUI interface → PDF generation: generates PDF
GUI_app.py - GUI interface → Invoice persistence: saves record
GUI_app.py - Invoice manager → Record queries and edits: manages invoices
invoice_manager.py - Record queries and edits → MySQL connection: queries database
invoice_manager.py - Invoice persistence → MySQL connection: opens connection
invoice_generator.py - MySQL connection → MySQL database: connects to
db_connect.py - Invoice schema → MySQL database: defines tables
README.md - PDF generation → Saved PDFs: writes PDF
README.md