How 13mayankjoshi13/hostel_management_system_tqm works
This is a Tkinter hostel-management desktop application. Users sign in, then role-aware screens support student and room records, room allocation, complaints, leave, and calendar operations; administrators and wardens also manage events, while students use a self-service portal. Quality features include bug tracking, error/audit logging, and Pareto/Fishbone monitoring. The graph follows documented imports and README capabilities; some unsampled service details are represented at subsystem level, and no external integrations are documented.
Main entry points: main_window.py Main window · db.py SQLite database · screens Hostel screens · dashboard_screen.py Dashboard
Components 27
Desktop interface
- Main window
app/screens/main_window.py - Login screen
app/screens/login_screen.py - Dashboard
app/screens/dashboard_screen.py - Hostel screens
app/screens - Calendar interface
app/screens/calendar_screen.py - Student portal
app/screens/my_room_screen.py - Calendar widget
app/screens/calendar_widget.py - Quality monitor screen
app/screens/quality_screen.py
Hostel operations
- Authentication and users
app/services/auth_service.py - Student management
app/services/student_service.py - Room management
app/services/room_service.py - Room allocation
app/services/allocation_service.py - Complaint resolution
app/services/complaint_service.py - Leave tracking
app/services/leave_service.py - Student self-service
app/services/student_portal_service.py - Calendar events
app/services/event_service.py
Quality monitoring
- Bug tracker
app/services/bug_service.py - Quality analysis
app/services/quality_service.py - Error and audit logs
app/utils/logging_service.py
Application foundation
- Application startup
app/main.py - SQLite database
app/database/db.py - Input validation
app/utils/validation.py - Exception handling
app/utils/exception_handler.py - Session state
app/utils/session.py - Application configuration
app/config.py - UI theme
app/theme.py
Other components
- Hostel user
Connections 44
- Hostel user → Application startup: launches
- Application startup → Main window: opens
app/main.py - Main window → Login screen: shows
app/screens/main_window.py - Main window → Dashboard: routes to
app/screens/main_window.py - Main window → Hostel screens: routes to
app/screens/main_window.py - Main window → Calendar interface: routes to
app/screens/main_window.py - Main window → Student portal: routes to
app/screens/main_window.py - Hostel user → Login screen: signs in
- Login screen → Authentication and users: authenticates
app/screens/login_screen.py - Hostel screens → Student management: manages
app/screens/student_screen.py - Hostel screens → Room management: manages
app/screens/room_screen.py - Hostel screens → Room allocation: allocates rooms
app/screens/allocation_screen.py - Hostel screens → Complaint resolution: handles complaints
app/screens/complaint_screen.py - Hostel screens → Leave tracking: tracks leave
app/screens/leave_screen.py - Calendar interface → Calendar events: manages events
app/screens/calendar_screen.py - Calendar interface → Calendar widget: embeds
app/screens/calendar_screen.py - Calendar widget → Calendar events: loads events
app/screens/calendar_widget.py - Student portal → Student self-service: requests self-service
app/screens/my_room_screen.py - Student self-service → Complaint resolution: uses complaint service
app/services/student_portal_service.py - Student self-service → Leave tracking: uses leave service
app/services/student_portal_service.py - Dashboard → Calendar events: loads calendar
app/screens/dashboard_screen.py - Dashboard → Room allocation: loads allocations
app/screens/dashboard_screen.py - Dashboard → Complaint resolution: loads complaints
app/screens/dashboard_screen.py - Dashboard → Bug tracker: loads bug data
app/screens/dashboard_screen.py - Quality monitor screen → Quality analysis: requests analysis
app/screens/quality_screen.py - Quality analysis → Bug tracker: analyzes defects
app/services/quality_service.py - Authentication and users → SQLite database: reads and writes
app/services/auth_service.py - Student management → SQLite database: reads and writes
app/services/student_service.py - Room allocation → SQLite database: reads and writes
app/services/allocation_service.py - Complaint resolution → SQLite database: reads and writes
app/services/complaint_service.py - Leave tracking → SQLite database: reads and writes
app/services/leave_service.py - Calendar events → SQLite database: reads and writes
app/services/event_service.py - Bug tracker → SQLite database: reads and writes
app/services/bug_service.py - Authentication and users → Input validation: validates input
app/services/auth_service.py - Room allocation → Input validation: validates input
app/services/allocation_service.py - Calendar events → Input validation: validates input
app/services/event_service.py - Student management → Error and audit logs: records activity
app/services/student_service.py - Bug tracker → Error and audit logs: records defects
app/services/bug_service.py - Exception handling → Error and audit logs: logs errors
app/utils/exception_handler.py - Authentication and users → Session state: sets session
app/services/auth_service.py - Error and audit logs → Session state: reads identity
app/utils/logging_service.py - SQLite database → Application configuration: uses paths
app/database/db.py - Application startup → Error and audit logs: initializes
app/main.py - Main window → UI theme: styles screens
app/screens/main_window.py