How tharana-dev/contact-engine works
Contact Engine is a PySide6 desktop contact manager. The main workflow is to validate an added or edited contact, route it through the window controller and table model, and persist it in SQLite; the table also supports debounced search and multi-select deletion. The controller can export the model’s contacts to CSV, JSON, or vCard. The graph reflects README-documented capabilities and sampled source; edges are limited to relationships visible in those sources or explicitly documented.
Main entry points: main_window.py Window controller · table_model.py Table model · main.py App startup · database.py SQLite database
Components 11
Application
- App startup
main.py - Window controller
main_window.py
Contact UI
- Add form
input_panel.py - Contact list
list_panel.py - Edit dialog
contact_dialog.py
Contact rules
- Input validation
validation.py - Contact record
contact.py
Contact data
- Table model
table_model.py - SQLite database
database.py - Export writers
exporter.py
Other components
- User
Connections 20
- User → App startup: launches
readme.md - App startup → SQLite database: opens
main.py - App startup → Window controller: creates
main.py - App startup → SQLite database: closes on exit
main.py - User → Add form: enters contact
readme.md - Add form → Input validation: checks formats
input_panel.py - Edit dialog → Input validation: checks formats
contact_dialog.py - Add form → Window controller: emits contact
main_window.py - User → Window controller: uses actions
readme.md - Window controller → Table model: adds or deletes
main_window.py - Window controller → Edit dialog: opens edit
main_window.py - Edit dialog → Window controller: returns edits
main_window.py - Window controller → Table model: updates contact
main_window.py - Contact list → Table model: searches
list_panel.py - Contact list → Window controller: emits delete or edit
main_window.py - Contact list → Table model: displays via
readme.md - Table model → SQLite database: reads and writes
table_model.py - SQLite database → Contact record: creates records
database.py - Window controller → Export writers: exports contacts
main_window.py - Export writers → Contact record: reads fields
exporter.py