How sabi-s/dae-6-month-sabi works
This repository is a collection of coursework and project artifacts, not one integrated application. Its clearest runnable product is Smart Deal Alert, represented by several progressively richer command-line editions: in-memory/manual pricing, persistent JSON, multi-user JSON, and live shopping lookup with CSV storage. The graph focuses on those runtime workflows; source excerpts are partial, so uncertain internal wiring is omitted.
Main entry points: smart_deal_alert_csv.py Live menu · smart_deal_alert_multiuser.py Account menu · smart_deal_alert_simple_json.py JSON menu · watchlist.csv Watchlist CSV
Components 17
Live price edition
- Live menu
Semester_1/python_1/smart_deal/smart_deal_alert_csv.py - Watchlist CSV
Semester_1/python_1/smart_deal/watchlist.csv - Shopping search
- Add product
Semester_1/python_1/smart_deal/smart_deal_alert_csv.py - Check prices
Semester_1/python_1/smart_deal/smart_deal_alert_csv.py - Deal comparison
Semester_1/python_1/smart_deal/smart_deal_alert_csv.py
Manual price editions
- Simple menu
Semester_1/python_1/Simple_Smart_Deal/smart_deal_alert_simple.py - Manual price check
Semester_1/python_1/Simple_Smart_Deal/smart_deal_alert_simple.py - JSON menu
Semester_1/python_1/Smart_Deal_Alert_With_JSON/smart_deal_alert_simple_json.py - Persistent price check
Semester_1/python_1/Smart_Deal_Alert_With_JSON/smart_deal_alert_simple_json.py - Products JSON
Semester_1/python_1/Smart_Deal_Alert_With_JSON/tracked_products.json
Multi-user editions
- Account menu
Semester_1/python_1/Smart_Deal_Alert_Multiuser/smart_deal_alert_multiuser.py - Register and login
Semester_1/python_1/Smart_Deal_Alert_Multiuser/smart_deal_alert_multiuser.py - User dashboard
Semester_1/python_1/Smart_Deal_Alert_Multiuser/smart_deal_alert_multiuser.py - Manual price check
Semester_1/python_1/Smart_Deal_Alert_Multiuser/smart_deal_alert_multiuser.py - Users and products
Semester_1/python_1/Smart_Deal_Alert_Multiuser/users_data.json
Other components
- Shopper
Connections 24
- Shopper → Live menu: chooses menu
- Live menu → Watchlist CSV: loads and saves
- Live menu → Add product: dispatches add
- Live menu → Check prices: dispatches check
- Add product → Shopping search: looks up product
- Check prices → Shopping search: fetches prices
- Add product → Watchlist CSV: saves entry
- Check prices → Watchlist CSV: updates prices
- Check prices → Deal comparison: compares target
- Shopper → Simple menu: uses menu
- Simple menu → Manual price check: checks and updates
- Manual price check → Deal comparison: compares target
- Shopper → JSON menu: uses menu
- JSON menu → Products JSON: loads and saves
- JSON menu → Persistent price check: checks prices
- Persistent price check → Deal comparison: compares target
- Shopper → Account menu: uses menu
- Account menu → Users and products: loads and saves
- Account menu → Register and login: dispatches account action
- Account menu → User dashboard: opens dashboard
- User dashboard → Manual price check: checks prices
- Manual price check → Deal comparison: compares target
- Register and login → Users and products: reads and writes accounts
- User dashboard → Users and products: updates user products