feat: Add stages for processing university schedule and authentication logs
- Implemented `stage_parse_schedule.py` to normalize and prepare university schedule data. - Created `stage_process_logs.py` for processing authentication logs and generating session records. - Added necessary classes and methods for log entry parsing, session extraction, and CSV output. - Updated `settings.yaml` with new schedule and processing configurations. - Introduced new templates and styles for report generation, including HTML and CSS files. - Added main entry point `run.py` to execute the attendance processing pipeline. - Included `.gitkeep` files in `output` and `result` directories to maintain structure.
This commit is contained in:
+42
-3
@@ -1,3 +1,40 @@
|
||||
report_start: 2026-02-09
|
||||
report_end: 2026-04-17
|
||||
|
||||
year:
|
||||
first_week: 2026-01-05
|
||||
week:
|
||||
- ПН
|
||||
- ВТ
|
||||
- СР
|
||||
- ЧТ
|
||||
- ПТ
|
||||
- СБ
|
||||
schedule:
|
||||
- lesson: 1
|
||||
start: 08:00:00+04:00
|
||||
end: 09:20:00+04:00
|
||||
- lesson: 2
|
||||
start: 09:30:00+04:00
|
||||
end: 10:50:00+04:00
|
||||
- lesson: 3
|
||||
start: 11:00:00+04:00
|
||||
end: 12:20:00+04:00
|
||||
- lesson: 4
|
||||
start: 12:45:00+04:00
|
||||
end: 14:05:00+04:00
|
||||
- lesson: 5
|
||||
start: 14:15:00+04:00
|
||||
end: 15:35:00+04:00
|
||||
- lesson: 6
|
||||
start: 15:45:00+04:00
|
||||
end: 17:05:00+04:00
|
||||
- lesson: 7
|
||||
start: 17:15:00+04:00
|
||||
end: 18:35:00+04:00
|
||||
- lesson: 8
|
||||
start: 18:40:00+04:00
|
||||
end: 20:00:00+04:00
|
||||
|
||||
sections:
|
||||
- id: okk1
|
||||
@@ -5,9 +42,6 @@ sections:
|
||||
- id: m1
|
||||
name: Классы факультетов
|
||||
|
||||
classes:
|
||||
|
||||
|
||||
class_ips:
|
||||
pu: 10.4.8.0
|
||||
mk: 10.10.19.0
|
||||
@@ -17,3 +51,8 @@ class_ips:
|
||||
fe: 10.5.0.0
|
||||
amt: 10.2.225.108
|
||||
kl: 10.3.1.0
|
||||
|
||||
processing:
|
||||
m1_ip_to_name_switch_date: 2026-04-08
|
||||
amt_group_id: amt
|
||||
amt_class_id: АМТ-33
|
||||
|
||||
Reference in New Issue
Block a user