How andreugrey/contact_manager_console works
This is a small console contact manager. The user enters a menu choice, the menu validates it and dispatches listing, adding, editing, or deleting to contact workflows; those workflows call SQLite-backed operations. The README provides no additional capability details. Edges reflect calls visible in the excerpts; table creation is defined but no initialization call is shown.
Main entry points: main.py Main menu · database.py Contact DB operations · contacts.py List contacts · tests.py Choice validation
Components 9
Console interface
- Main menu
main.py - Choice validation
tests.py
Contact workflows
- List contacts
contacts.py - Add contact
contacts.py - Edit contact
contacts.py - Delete contact
contacts.py
SQLite persistence
- Contact DB operations
database.py - Contacts table
database.py
Other components
- User
Connections 11
- User → Main menu: chooses action
main.py - Main menu → Choice validation: validates choice
main.py - Main menu → List contacts: dispatches listing
main.py - Main menu → Add contact: dispatches addition
main.py - Main menu → Edit contact: dispatches editing
main.py - Main menu → Delete contact: dispatches deletion
main.py - List contacts → Contact DB operations: requests page
contacts.py - Add contact → Contact DB operations: inserts or updates
contacts.py - Edit contact → Contact DB operations: checks and updates
contacts.py - Delete contact → Contact DB operations: deletes contact
contacts.py - Contact DB operations → Contacts table: queries and writes
database.py