mirror of
https://github.com/Code-For-Groningen/temmies.git
synced 2025-03-15 07:10:15 +01:00
849 B
849 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
from temmies.themis import Themis
# Log in
themis = Themis("s-number") # You will be prompted for your password
# Get a year
year = themis.get_year(2023, 2024)
# Get a course
course = year.get_course("Programming Fundamentals (for CS)")
# Get an assignment
assignment = course.get_group("Assignment 1")
# Submit 2 files
assignment.submit(["among.c", "us.py"])