/piesAndBars

An application to graphically represent the grade distribution in IIT Bhubaneswar over the past years

Primary LanguagePython

piesAndBars

An application to graphically represent the grade distribution in IIT Bhubaneswar over the past years.
To use, first clone the project then run pip3 install -r requirements.txt
Use command export FLASK_APP=application.py to set the environment variable and then use flask run

URLs:
localhost:5000/cgpa - Displays the CGPA distribution,batchwise. Required parameter: year
Example: localhost/cgpa?year=16

localhost:5000/cgpa/branch - Displays the CGPA distribution,batchwise. Required parameter: year, branch
Example: localhost/cgpa/branch?year=16&branch=CS

localhost:5000/sgpa - Displays the SGPA distribution,batchwise. Required parameter: year
Example: localhost/sgpa?year=16

localhost:5000/sgpa/branch - Displays the SGPA distribution,batchwise. Required parameter: year, branch
Example: localhost/sgpa/branch?year=16&branch=CS

localhost:5000/subject - Displays the grade distribution, subjectwise. Required parameter: sub
Example: localhost/subject?sub=CE1P001

For contributing, please take a look at contributing.md.