piesAndBars
An application to graphically represent the grade distribution in IIT Bhubaneswar over the past years.
Usage:
- Clone the project
- Run pip3 install -r requirements.txt
- Use command export FLASK_APP=application.py (on Mac/Linux) or set FLASK_APP=application.py to set the environment variable
- Use flask run (Windows/Linux) or python -m flask run (Mac)
| URL | Action | 
|---|---|
| localhost:5000 | Form interface for the various result distributions available | 
| localhost:5000/cgpa | Displays the CGPA distribution,batchwise. Required parameter: year | 
| localhost:5000/sgpa | Displays the SGPA distribution,batchwise. Required parameter: year | 
| localhost:5000/cgpa/branch | Displays the CGPA distribution,batchwise. Required parameters: year, branch | 
| localhost:5000/sgpa/branch | Displays the SGPA distribution,batchwise. Required parameter: year, branch | 
| localhost:5000/subject | Displays the grade distribution, subjectwise. Required parameter: sub | 
More features will be added soon.
Examples
| URL | Interface | 
|---|---|
| localhost/cgpa?year=16 |  </img> | 
| localhost/cgpa/branch?year=16&branch=CS |  </img> | 
| localhost/sgpa?year=16 |  </img> | 
| localhost/sgpa/branch?year=16&branch=CS |  </img> | 
| localhost/subject?sub=CE1P001 |  </img> | 
For contributing, please take a look at contributing.md.