UE Katowice class schedule utility library
Project description
UE Class schedule utility library
A utility library used to download, filter and export class schedule at University of Economics in Katowice. Imports data from "Wirtualna uczelnia".
Each students gets a constant schedule id which is used to generate the schedule.
You can get your ID by going to "Wirtualna uczelnia" > "Rozkład zajęć" > "Prezentacja harmonogramu zajęć" > "Eksport planu do kalendarza".
The url ends with /calendarid_XXXXXX.ics
, the XXXXXX will be your ID.
Installation
pip install ue-schedule
Development
You can install dependencies in a virtualenv with pipenv
pipenv install
pipenv shell
Usage
Import
from ue_schedule import Schedule
Initialization
# initialize the downloader with dates
s = Schedule(schedule_id, start_date, end_date)
# and without dates
s = Schedule(schedule_id)
Export
# get event list
schedule.events
# export as iCalendar
schedule.to_ical()
Data is automatically fetched when exporting, but you can force fetch with
schedule.fetch()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ue_schedule-0.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f2ed0f98a0b90b0aa244ec6d0f483ec9d8a64afd057f67724b8052f3b76ec62 |
|
MD5 | ee13ee7c650364b9a5a54142781744dc |
|
BLAKE2b-256 | 6a02285179d94cfa3861c24ef32901b0250426dbc728f99831df732522e94a8b |