GithubHelp home page GithubHelp logo

anubhaagrawal / get_results Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iamareebjamal/get_results

0.0 1.0 0.0 352 KB

Python Script to download results of whole class/branch by providing attendance Excel file.

License: GNU General Public License v2.0

Python 100.00%

get_results's Introduction

AMU B.Tech Results Downloader Python Script

Codacy grade Website License: GPL v3

Python Script to download results of whole class/branch by providing attendance Excel file. ๐Ÿ˜‰

##Description This script created by iamareebjamal batch downloads the result of B.Tech students hosted on http://ctengg.amu.ac.in by reading student information from Attendance Excel files.

This script is provided on as-is basis and there is no responsibility of the developer to ensure proper working and genuinety of results downloaded. Use on your risk. ๐Ÿ˜‡

Code of the program is open (obviously, Python) and it is encouraged to use it for educational purposes, tweaking, merging with other programs strictly till it remains personal. If intended otherwise, it should follow the GNU LICENSE provided.

There's no guarantee that code will be easy to understand. Program is modular and does similar works in different modules so redundancy is natural. Assume it to be dirty coded. Be my guest to optimise it. Don't expect helpful comments. ๐Ÿ˜›

######Requirements

  • Requires Python 3 Environment set up, (duh). ๐Ÿ˜’
  • Needs these Python Modules to be installed - BeautifulSoup, requests, xlsxwriter, xlrd. Install libraries using pip install -module_name-.
  • Currently, script is made to run on Android, but will only require change of directories in enlist.py and utils.py for working in Windows, Linux, and OS X.
  • Works on Windows, Linux and Mac. Although script is tested briefly on Windows only.
  • This branch hosts Windows, Linux and Mac script while Android one will be found in android branch.
  • Requires internet connection to download results. Option 2 and 3 (Read Instructions in main.py) do not require internet if result has been downloaded previously.
  • Requires an Attendance Excel file to access student name, faculty number and enrolment number.

######To-Do

  • Create android branch.
  • Fix master branch for Windows, Linux, Mac.
  • Fix and generalize directories and test.

######Screenshots downloading results downloaded results created spreadsheet

######Functions The program does 3 tasks :

  1. Reads information from Attendance Excel file and downloads the result from site and saves in /iaj/Store/ as HTML file.
  2. Iterates through downloaded HTML and loads CPI and SPI of students.
  3. Creates an Excel file with Student information and their CPI and SPI.

####Instructions

  1. Place all 3 .py files in any folder in which you have writing permissions. Like D:\Results\ or ~/home/user/results/. *Normally, C:\ drive on Windows doesn't have writing permissions.
  2. Run the main script, main.py so it creates all necessary folders and read the instructions it prints.
  3. Now, script will demand a file name. You need to put the Attendance Excel file in /Input/ folder in order to do so.
  4. Now give the exact name of Excel file to the script. Eg: AM111.xlsx
  5. Now, the script will present 3 options if file is loaded successfully:
  6. Download Results.
  7. Load Marks.
  8. Create Worksheet. Choose relevant option based on functions listed above or the instructions printed by the script.
  9. Downloaded results are stored in /iaj/Store. You can check individual results in any HTML Viewer or Browser.
  10. The worksheet is created in /Output/ folder and contains CPI and SPI along with student information.

Note : The script saves some configuration and database files in /iaj/ folder for future faster loading and performance purposes. Please don't delete them ๐Ÿ˜“. You can delete the HTML files in Store folder to download result again. ๐Ÿ‘

Happy 'Result'ing and best of luck! ๐Ÿ‘ฏ

All Hail Python ๐Ÿ™Œ

get_results's People

Contributors

anubhaagrawal avatar iamareebjamal avatar sakshisaraswat avatar

Watchers

 avatar

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.