How vedant11460/contact-book works
This is a small, single-file contact-book application. Its workflow is a top-level scripted session that loads saved contacts, creates and validates contacts, supports case-insensitive lookup and sorted display, handles deletion and undo, then saves the current contacts as JSON. ContactBook owns the in-memory dictionary and deletion stack; Contact supplies validation and serialization behavior. The file is loaded and saved by ContactBook. All shown relationships are supported by contacts.py; the README corroborates the advertised capabilities.
Main entry points: contacts.py Contact Book
Components 5
Other components
- User
- Scripted Session
contacts.py - Contact Book
contacts.py - Contact Model
contacts.py - JSON Contact File
contacts.py
Connections 4
- User → Scripted Session: runs
README.md - Scripted Session → Contact Book: loads and manages
contacts.py - Contact Book → Contact Model: validates and serializes
contacts.py - Contact Book → JSON Contact File: reads and writes
contacts.py