A command-line Python application aimed at automating IIITH moodle from login to opening assignments, grades within a single command even for multiple courses.
$ pip install selenium
Check Chrome version
Help > About Google Chrome
download chromedriver for your chrome version
https://chromedriver.chromium.org/downloads
Open
bot/user.jsonand update your email and password and absolute path for chrome driver
Open
bot/constants.pyand upadate absolue path foruser.jsonin methodget_user
Open
.bashrcor any rc file in whichever terminal you are working and create an alias
alias mood="python <ABSOLUTE_PATH_FOR_main.py>"
Computer Programming - cpro
Digital Systems & Microcontrollers - dsm
Discrete Structures - ds
Data Structures & Algorithms - dsa
Computer Systems and Organisation - cso
Linear Alzebra - la
Internet of Things - iot
Introduction to Software Systems - iss
Automata Theory - at
Real Analsis - ra
Probability & Statastics - ps
Operating Systems and Networks - osn
Value Education-1 - ve1
Embedded Systems Workshop - esw
Algorithm Analysis & Design - aad
Data and Applications - da
Type
moodand press enter to simply login and view moodle homepage
Type
mood cpro dsm ...or any series of command and press enter to login and view moodle all these courses in different tabs
Type
grdafter course alias to open grades for that course i.emood cpro grd>
To view course contents on terminal type
insafter course alias
To open course contents on terminal type
ins=after course alias Argument toinsparameter need not to be exact as it uses regex with_as anything bw it i.e. typeins=ass_3to openAssignment 3forcpro>
Type
qand press enter to exit




