Giter Site home page Giter Site logo

ajv009 / msbte_results_fetcher Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 21 KB

Fetch MSBTE polytechnic results and store in a excel file! Exploit the script to fetch more data from more MSBTE type of results!

Python 100.00%
msbte results fetcher pandas python python3 result fetch pandas-dataframe pandas-library

msbte_results_fetcher's Introduction

MSBTE_Result_Fetcher

A python script to fetch MSBTE polytechnic results and store in a excel file. If the script doesnt work please open a issue. As of now only seat numberare supported. The script will be improved after next SEM end exam.

Dependencies Installation

$ pip install --upgrade 'setuptools<45.0.0'
$ pip install colorama pandas pyinstaller pytest-timeit pywin32 lxml openpyxl

Usage

$ git clone https://github.com/AJV009/MSBTE_Results_Fetcher.git
$ cd MSBTE_Results_Fetcher
$ python msbte_res.py --from_seat="407517" --to_seat="407520" --export_file_name="dataout1"

Try --help flag to find more info

$ python msbte_res.py --help
INFO: Showing help with the command 'msbte_res.py -- --help'.
NAME
    msbte_res.py - Description: Takes in a range of seat number then exports marks to a excel file!
SYNOPSIS
    msbte_res.py <flags>
DESCRIPTION    
    Flags:
    --sample="<seat_number>"          =  give a working seat number with the perfect format of results!
    --from_seat="<seat_number>"       =  From seat number (for looping through)
    --to_seat="<seat_number>"         =  To seat number. e.x. till 407518
    --export_file_name="<file_name>"  =  Only the file name, .xlsx will be added automatically!
    --help                            =  Display this help!

    e.x. python msbte_res.py --from_seat="407520" --to_seat="407525" --export_file_name="dataout"
FLAGS
    --sample=SAMPLE
    --from_seat=FROM_SEAT
    --to_seat=TO_SEAT
    --export_file_name=EXPORT_FILE_NAME

Using pyinstaller to compile to a win32 exe file

  • Packed (32mb, SLOW)
$ pyinstaller --hidden-import='pkg_resources.py2_warn' --onefile msbte_res.py
  • Unpacked (82mb, FAST)
$ pyinstaller --hidden-import='pkg_resources.py2_warn' msbte_res.py

Linux users can better create a env and run the script in it!

NOTE!

As of now its only for MSBTE! AND the url is static! (I meant I have placed it in the code, so if you wish to fetch the same type of results but with different URL and stuff, please youll have to make changes in the code. the URL var!)

You can contribute by opening issues!

msbte_results_fetcher's People

Contributors

ajv009 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

msbte_results_fetcher's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.