How sumaiya-akter-roshni/bazarwatch-bd works
BazarWatch BD is a Tkinter grocery-price monitoring and basket-planning app. The user enters or browses prices through the GUI; the manager validates and coordinates records, persistence, alerts, statistics, market comparisons, basket budgeting, and report generation. The central internal layer is the manager, which delegates calculations and file access. The README contains only the project title, so capabilities are drawn from sampled source and the source index; unsampled GUI actions and report-save wiring are not asserted.
Main entry points: manager.py Bazar manager · gui.py Tkinter interface · file_handler.py File handling · config.py App configuration
Components 12
User interface
- App startup
BazarWatch/main.py - Tkinter interface
BazarWatch/gui.py - Visual theme
BazarWatch/theme.py
Price domain
- Input validation
BazarWatch/validators.py - Price analytics
BazarWatch/analytics.py - Products and records
BazarWatch/models.py - App configuration
BazarWatch/config.py
Application services
- Bazar manager
BazarWatch/manager.py
Local data
- File handling
BazarWatch/file_handler.py - Local price and basket files
BazarWatch/data - WFP dataset preparation
BazarWatch/prepare_dataset.py
Other components
- User
Connections 16
- User → Tkinter interface: uses
BazarWatch/gui.py - App startup → Tkinter interface: starts
BazarWatch/main.py - Tkinter interface → Bazar manager: requests operations
BazarWatch/gui.py - Tkinter interface → Visual theme: uses styling
BazarWatch/gui.py - Tkinter interface → Input validation: handles errors
BazarWatch/gui.py - Bazar manager → Input validation: validates input
BazarWatch/manager.py - Bazar manager → Price analytics: delegates calculations
BazarWatch/manager.py - Bazar manager → File handling: loads and saves
BazarWatch/manager.py - Bazar manager → Products and records: creates records
BazarWatch/manager.py - Bazar manager → App configuration: uses file settings
BazarWatch/manager.py - File handling → Local price and basket files: reads and writes
BazarWatch/file_handler.py - File handling → Products and records: builds records
BazarWatch/file_handler.py - File handling → App configuration: uses CSV schema
BazarWatch/file_handler.py - Price analytics → App configuration: uses thresholds
BazarWatch/analytics.py - Products and records → App configuration: uses price limits
BazarWatch/models.py - WFP dataset preparation → Local price and basket files: produces dataset
BazarWatch/prepare_dataset.py