light_autobaka is python util to automatically calculate average of each subject from Bakaláři
"light" cause it's powered by request and bs4 instead dynamically going through the page as a previous version
💡The main reason for this is that our school has disabled students from viewing their grade averages and grade predictions. I didn't wanted to calculate them manually like other monkeys.
- use
uvpackage manager
git clone https://github.com/bag1s3k/light_autobaka.git
cd light_autobaka
uv syncbase_url- login url without /loginlogin_endpoint- login pageafter_login_endpoint- url after you loginmarks_endpoint- url endpoint to marks in chronological view (Grade > Interim Grading > Chronological button)
uv run -m main- Fork my repo
- Go to GitHub Pages settings and change source to GitHub Actions
- Go to GitHub Actions and anable them and activate deploy.yml workflow
- Go to the
secretsof repo - Create following variables:
-
USERNAME- your bakalari username -
PASSWORD- your bakalari password -
DATA- configuration of app (insteadconfig.toml), it's json object{"base_url": "https://website.com", "login_endpoint": "login", "after_login_endpoint": "dashboard", "marks_endpoint": "next/prubzna.aspx?s=chrono"}
-
marks- raw marks dataresult.txt- text output with calcuated averageslogs.logindex.html- only via CI environment
- absence prediction

