-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
857dda3
commit 60d21c2
Showing
1 changed file
with
54 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,66 @@ | ||
# Nith results | ||
# Nith_results | ||
|
||
## A commandline tool to check your result of last semester. | ||
[](https://github.com/srbcheema1) | ||
[](https://github.ocm/srbcheema1/Nith_results/issues) | ||
[](https://github.com/srbcheema1/Nith_results) | ||
[](https://travis-ci.org/srbcheema1/Nith_results) | ||
[](http://hits.dwyl.io/srbcheema1/Nith_results) | ||
|
||
* Requirements | ||
**Nith_results** is a terminal app to extract result of NITH. | ||
|
||
* requests | ||
* beautiful-soup | ||
|
||
### Installation | ||
|
||
* Steps to Use | ||
#### Install using pip (Recommended) | ||
|
||
* Clone this repo using `git clone https://github.com/srbcheema1/Nith_results`. | ||
* Create virtual environment (optional) using `python3 -m venv env`. To activate the virtual environment, use `source env/bin/activate`, `deactivate` to deactivate. | ||
* Install the requirements using `pip3 install -r requirements.txt`. | ||
* Now run the command `python3 nith_results.py -h`. | ||
* Example `python3 nith_results.py -cydr 15mi535`. | ||
* OR you may also use `make` command. | ||
- Use pip to install, user `--user` flag | ||
``` | ||
python3 -m pip install --user nith_results | ||
``` | ||
|
||
#### Build from Source | ||
|
||
* Available stats | ||
- Clone the repository and checkout to stable commit | ||
``` | ||
git clone https://github.com/srbcheema1/nith_results | ||
cd nith_results | ||
git checkout <latest_version say: v0.0.x> | ||
``` | ||
|
||
* You can check out already calculated data in folder `data`. | ||
* Also you can find out `final_list.json` containing data for 3rd year students. | ||
- install requirements | ||
``` | ||
python3 -m pip install --user -r requirements.txt | ||
``` | ||
- Install nith_results | ||
``` | ||
python3 setup.py install --user | ||
``` | ||
- Building Source Distribution | ||
``` | ||
python3 setup.py sdist | ||
``` | ||
|
||
|
||
* Available results | ||
### Available Stats | ||
|
||
* Results are organised in folders for each branch in [result directory](https://github.com/srbcheema1/Nith_results/tree/master/result) | ||
* Branch wise results are present in folders named with branch with files as `batch_xx_xgpi.txt` or `batch_xx_xgpi.json`. | ||
* Full Year-wise and Full college wise results are also available in folders [FULL_YEAR](https://github.com/srbcheema1/Nith_results/tree/master/result/json/FULL_YEAR) and [FULL_COLLEGE](https://github.com/srbcheema1/Nith_results/tree/master/result/json/FULL_COLLEGE) respectively. | ||
* Result is available in text and json format in [result/text](https://github.com/srbcheema1/Nith_results/tree/master/result/text) and [result/json](https://github.com/srbcheema1/Nith_results/tree/master/result/json) directories respectively | ||
|
||
|
||
* Folders contain results in `branch_name_xx_xgpi.txt`. | ||
* Also you can find out `full_year_xx_xgpi.txt` containing data for whole year. | ||
|
||
|
||
### Contact / Social Media | ||
|
||
[](https://github.com/srbcheema1/) | ||
[](https://www.linkedin.com/in/srbcheema1/) | ||
[](https://www.facebook.com/srbcheema/) | ||
|
||
|
||
### Development by | ||
|
||
Developer / Author: [Srb Cheema](https://github.com/srbcheema1/) | ||
|
||
* You can check out already downloaded results in `result` folder. | ||
* Results are organised in folders for each branch. | ||
* Folders contain results in `branch_name_xx_xgpi.txt`. | ||
* Also you can find out `full_year_xx_xgpi.txt` containing data for whole year. |