mirror of
https://github.com/Code-For-Groningen/temmies.git
synced 2025-03-15 07:10:15 +01:00
818 B
818 B
Temmies!
What is this?
A python library which interacts with themis. Uses bs4. I'll try to end development on a somewhat working state. Check out the code
Intended Features
- Log in
- Bulk download of test cases and files~~
- Submitting files
- Somewhat easy to use API to interact with courses
Installation
pip install temmies
Example Usage
import temmies
# Log in
themis = temmies.Themis("s-number", "password")
# Get a year
year = themis.getYear(2023, 2024)
# Get a course
pf = year.getCourse("Programming Fundamentals (for CS)")
# Get an assignment
pf_assignment = pf.getGroup("Assignment 1")
# Get a specific exercise
exercise = pf_assignment.getGroup("Exercise 1")