An open API service indexing awesome lists of open source software.

https://github.com/athityakumar/blackjack

Populates infoboxes of courses on metaKGP with their previous year grade distributions
https://github.com/athityakumar/blackjack

Last synced: about 1 year ago
JSON representation

Populates infoboxes of courses on metaKGP with their previous year grade distributions

Awesome Lists containing this project

README

          

Info
===
**Blackjack** is a surgeon bot who adds past year grade distributions of courses on metaKGP. It searches for all the courses on metaKGP and populates their infoboxes with their previous year grade distributions, if available from ERP.

Setup
=====

* Clone from the pywikibot library from wikimedia to `~/blackjack`
```
git clone https://gerrit.wikimedia.org/r/pywikibot/core.git ~/blackjack
```

* Create a bot account on metakgp

* Change to `~/blackjack`
```
cd ~/blackjack
```
Create a `user-config.py` file with the following data replacing 'blackjack' with the bot's name:
```python
mylang = 'en'
family = 'metakgp'
usernames['metakgp']['en'] = 'blackjack'
```

* Generate user and family files.
```
python generate_user_files.py
```
```
python generate_family_files.py
```

* Mine grades of all courses from `https://erp.iitkgp.ernet.in/Acad/Pre_Registration/subject_grade_status.jsp?subno=XXXXXXX` after signing in and save it to `allCourses.json`

* Run blackjack.py
```
python blackjack.py
```