Skip to content
E

espTool2021

Requirements:

python3.7+

python-gitlab
python-requests
beautifulsoup4

For compilation:

pyinstaller

Usage examples:

order of arguments does not matter

Download:

python espTool.py --download --deadline 2020-12-05T23:59:59 -g 4 5 -a 1 python espTool.py --download --deadline 2020-12-05T23:59:59 -g 4 5 -a 1 --lazy

Download late submissions only:

python espTool.py --download --deadline 2020-12-05T23:59:59 -g 4 5 -a 1 --lazy --extendOnly

Download all submissions (in time and late):

python espTool.py --download --deadline 2020-12-05T23:59:59 -g 4 5 -a 1 --lazy --extend

Test:

python espTool.py --test /path/to/submissions /path/to/solution

python espTool.py --test results/a1 esp-ws20-assignments/assignment_1

python espTool.py /path/to/submissions /path/to/solution --test --testpoints 20

To remove symlinks after testing append

python espTool.py /path/to/submissions /path/to/solution --test --testpoints 20 --cleanTest

Download and Test:

python espTool.py --download --deadline 2020-12-05T23:59:59 -g 4 5 -a 1 --lazy --test results/a1 esp-ws20-assignments/assignment_1

Push files to empty repositories

Create a csv with all students and repo links:

python espTool.py --createCsv

For one group only:

python espTool.py --createCsv -g 8

For one assignment:

python espTool.py --createCsv -a 3