Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
srbcheema1 committed Jan 7, 2019
1 parent 857dda3 commit 60d21c2
Showing 1 changed file with 54 additions and 20 deletions.
74 changes: 54 additions & 20 deletions README.md
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.
[![a srbcheema1 production](https://img.shields.io/badge/-a%20srbcheema1%20production-blue.svg)](https://github.com/srbcheema1)
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.ocm/srbcheema1/Nith_results/issues)
[![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.png?v=103)](https://github.com/srbcheema1/Nith_results)
[![Build Status](https://travis-ci.org/srbcheema1/Nith_results.svg?branch=master)](https://travis-ci.org/srbcheema1/Nith_results)
[![HitCount](http://hits.dwyl.io/srbcheema1/Nith_results.svg)](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

[![Github](https://raw.githubusercontent.com/srbcheema1/CheemaFy/master/myPlugins/extra_things/png_images/social/github.png)](https://github.com/srbcheema1/)
[![LinkedIn](https://raw.githubusercontent.com/srbcheema1/CheemaFy/master/myPlugins/extra_things/png_images/social/linkedin-48x48.png)](https://www.linkedin.com/in/srbcheema1/)
[![Facebook](https://raw.githubusercontent.com/srbcheema1/CheemaFy/master/myPlugins/extra_things/png_images/social/fb.png)](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.

0 comments on commit 60d21c2

Please sign in to comment.