How chillinmalware/mini_project works
ASEAN Phonebook is a console application for managing student and partner contacts. The principal workflow reads a versioned command stream, parses and dispatches each command, validates contact data, then queries or changes a manually maintained, surname/name/ID-sorted linked list and prints results. The graph also captures the contact model and shared country/update-field definitions. Source excerpts show the command dispatcher and core list operations; links to those modules are cited where their calls or dependencies are visible.
Main entry points: main.py Command parser · phonebook.py Sorted linked list · constants.py Shared definitions · contact.py Contact model
Components 8
Command interface
- Program entry
main.py - Command parser
main.py - Console output
Contact domain
- Contact model
contact.py - Contact validation
contact.py - Shared definitions
constants.py
Phonebook management
- Sorted linked list
phonebook.py
Other components
- Console user
Connections 12
- Console user → Program entry: provides input
README.md - Program entry → Command parser: processes commands
main.py - Program entry → Console output: prints results
main.py - Command parser → Sorted linked list: dispatches operations
main.py - Command parser → Contact model: creates contacts
main.py - Command parser → Contact validation: validates additions
main.py - Command parser → Shared definitions: checks country codes
main.py - Sorted linked list → Contact model: uses contact data
phonebook.py - Sorted linked list → Contact validation: validates updates
phonebook.py - Sorted linked list → Shared definitions: checks update fields
phonebook.py - Contact validation → Shared definitions: checks country codes
contact.py - Contact model → Shared definitions: formats country name
contact.py