moodle_feedback_filler icon indicating copy to clipboard operation
moodle_feedback_filler copied to clipboard

We hate filling feedback forms, don't we? Relax, this script fills the moodle feedback form for you!

moodle_feedback_filler (Demo)

We hate filling feedback forms, don't we? Relax, this script fills the moodle feedback form for you!

This script automates your task for filling the MSIT moodle feedback form

Any contributions from you guys are welcome. Just fork this repository, make changes in the code and create a pull request, I will merge the changes if it seems interesting. :)

Do star the repo if you think it worth it.

Requirements (on your system)

  1. Chrome/Chromium Browser (https://www.google.com/chrome/browser)
  2. Chrome WebDriver (https://chromedriver.storage.googleapis.com/index.html?path=2.33/)
  3. Python3 (https://www.python.org/downloads/)
  4. Virtualenv ($ pip3 install virtualenv)
  5. Selenium ($ pip3 install selenium)

Steps to run in your local machine

  1. Firstly, clone the repository using the git shell
    $ git clone https://github.com/rajujha373/moodle_feedback_filler.git
  2. Goto the base directory of the project
    $ cd moodle_feedback_filler
  3. Create a virtual environment and activate it.
    $ virtualenv venv
    $ source venv/bin/activate
  4. Install the requirements for the project
    $ pip install -r requirements.txt
  5. Download the ChromeWebdriver and extract into the directory.
  6. In the file "feedback.py" replace
    "{GLOBAL PATH OF CHROMEDRIVER}" with the absolute path of the downloaded Chrome Webdriver
    "{YOUR USERNAME HERE}": with your moodle username
    "{YOUR PASSWORD HERE}" with your moodle password
    "{YOUR LABCODE HERE}": with your lab code (lab_codes_A : IF YOU BELONG TO GROUP A, lab_codes_B : IF YOU BELONG TO GROUP B, lab_codes_C : IF YOU BELONG TO GROUP C)
  7. Run the script
    $ python3 feedback.py
  8. Voila!

to be noted

This script gives rating of 4 to each checkboxes (in the scale of 5, larger being better).