Skip to content

v0.5.0

Choose a tag to compare

@TFoxik TFoxik released this 16 Oct 16:13
· 10 commits to main since this release

Changes

  • Lesson.code holds the subject abbreviation the portal shows (Čj, M, ČaS…).
  • get_timetable_week(week_offset=0) returns a TimetableWeek with the week's lessons and its bell schedule (Period(number, start, end)), from one page load.
  • A week whose page has a bell schedule but no lessons (holidays) comes back from get_timetable_week as an empty week instead of raising ParseError. get_timetable is unchanged.

No breaking changes.