How anesdevv/lycee-yaghmouracen works
Lycée Yaghmouracen is an offline desktop application for high-school administration. An administrator signs in, then uses the main window to manage students, classes, employees and attendance, review dashboard summaries, and generate official PDF or Excel records. SQLite provides persistent school and admin data; authentication and bilingual translations are shared services, while reusable widgets support the GUI. The README documents additional report types and security capabilities. Some subsystem details are unsampled, so edges rely on the README or SOURCE INDEX where noted.
Main entry points: main_window.py Main window · db.py SQLite school data · login.py Login screen · students.py Student records
Components 17
Application flow
- App startup
main.py - Login screen
ui/login.py - Main window
ui/main_window.py
School records
- Dashboard
ui/dashboard.py - Student records
ui/students.py - Class sections
ui/classes.py - Employee records
ui/employees.py - Attendance
ui/attendance.py - SQLite school data
database/db.py
Shared services
- Authentication
services/auth_service.py - Translations
services/translation_service.py - UI components
ui/components.py
Reporting
- Export center
ui/exports.py - PDF reports
services/pdf_service.py - Excel exports
services/excel_service.py - Generated files
exports
Other components
- Administrator
Connections 30
- Administrator → Login screen: signs in
README.md - App startup → SQLite school data: initializes
main.py - App startup → Login screen: opens
main.py - Login screen → Authentication: authenticates
ui/login.py - Authentication → SQLite school data: verifies credentials
services/auth_service.py - Login screen → Main window: success opens
main.py - Main window → Login screen: logout returns
main.py - Main window → Dashboard: navigates
ui/main_window.py - Main window → Student records: navigates
ui/main_window.py - Main window → Class sections: navigates
ui/main_window.py - Main window → Employee records: navigates
ui/main_window.py - Main window → Attendance: navigates
ui/main_window.py - Main window → Export center: navigates
ui/main_window.py - Main window → Authentication: manages session
ui/main_window.py - Dashboard → SQLite school data: reads summaries
ui/dashboard.py - Student records → SQLite school data: manages students
ui/students.py - Class sections → SQLite school data: manages classes
ui/classes.py - Employee records → SQLite school data: manages employees
ui/employees.py - Attendance → SQLite school data: records attendance
ui/attendance.py - Login screen → UI components: uses widgets
ui/login.py - Main window → Translations: uses translations
ui/main_window.py - Student records → Translations: uses translations
ui/students.py - Employee records → UI components: uses widgets
ui/employees.py - Attendance → UI components: uses widgets
ui/attendance.py - Export center → PDF reports: requests reports
ui/exports.py - Export center → Excel exports: requests workbooks
ui/exports.py - PDF reports → SQLite school data: reads school data
services/pdf_service.py - Excel exports → SQLite school data: reads school data
services/excel_service.py - PDF reports → Generated files: writes PDFs
README.md - Excel exports → Generated files: writes workbooks
README.md