How italo2403/sistema_horario works
Gestor de Horários Docentes is a local timetable-management application. Users edit academic records, configure class shifts and periods, set teacher availability and weekly teaching requirements, then generate and review a heuristic schedule proposal before applying it. They can also inspect timetable and audit views and export CSV. The browser UI calls the local HTTP server, which validates operations and persists state in SQLite. The excerpts show these core paths; other UI views and API capabilities are included where documented by the UI, but their internal implementation details were not sampled.
Main entry points: server.py HTTP API · app.js Timetable UI · launcher.py Desktop launcher · index.html Web page assets
Components 17
Desktop runtime
- Desktop launcher
launcher.py
Browser interface
- Timetable UI
static/app.js - Web page assets
static/index.html
Scheduling domain
- Academic records
server.py - Teacher availability
server.py - Shifts and periods
server.py - Lesson requirements
server.py - Schedule validation
server.py - Proposal generator
server.py - Schedule audit
server.py - Timetable views
server.py - CSV export
server.py
Persistence
- HTTP API
server.py - SQLite database
server.py - Seed database
dados_iniciais.sqlite3
Other components
- User
- Browser
Connections 22
- User → Desktop launcher: starts
launcher.py - Desktop launcher → Seed database: copies if absent
launcher.py - Desktop launcher → HTTP API: starts server
launcher.py - Desktop launcher → Browser: opens local app
launcher.py - Browser → Timetable UI: uses
static/app.js - Timetable UI → HTTP API: requests API
static/app.js - HTTP API → SQLite database: reads and writes
server.py - HTTP API → Academic records: handles records
server.py - HTTP API → Teacher availability: handles availability
server.py - HTTP API → Shifts and periods: handles periods
server.py - HTTP API → Lesson requirements: stores requirements
server.py - HTTP API → Schedule validation: validates entries
server.py - HTTP API → Proposal generator: builds proposal
server.py - HTTP API → Schedule audit: serves audit
server.py - HTTP API → Timetable views: serves state
server.py - HTTP API → CSV export: exports CSV
server.py - Timetable UI → Proposal generator: requests generation
static/app.js - Timetable UI → Lesson requirements: edits demands
static/app.js - Timetable UI → Shifts and periods: edits periods
static/app.js - Timetable UI → Schedule audit: shows audit
- Timetable UI → Timetable views: renders schedules
- Timetable UI → Web page assets: renders page