ashutoshvarma / ggsipu_result Goto Github PK
View Code? Open in Web Editor NEWPython module to parse and dump results data from GGSIPU results pdf including students photo
License: GNU General Public License v3.0
Python module to parse and dump results data from GGSIPU results pdf including students photo
License: GNU General Public License v3.0
After doing pip install ggsipu-result
tried to run the following code:
from ggsipu_result import iter_pages, has_page_results, iter_results FILE="2015_032_B.TECH(CSE)_DECLARE_RESULT_DEC2019.pdf" results = [] for page in iter_pages(FILE): if has_page_results(page): results = results + [r for r in iter_results(page) if r.batch == 2018] results.sort(key=lambda x: x.cgpa, reverse=True) for i, result in enumerate(results[:-1]): print("{i}. {r}".format(i=i+1, r= result))
the following error came:
Traceback (most recent call last):
File "abc.py", line 1, in
from ggsipu_result import iter_pages, has_page_results, iter_results
File "C:\Users\JAIN\AppData\Local\Programs\Python\Python37\lib\site-packages\ggsipu_result_init_.py", line 1, in
from pyxpdf import xpdf
File "C:\Users\JAIN\AppData\Local\Programs\Python\Python37\lib\site-packages\pyxpdf_init_.py", line 3, in
from pyxpdf.xpdf import (
ImportError: DLL load failed: The specified module could not be found.
Dependabot couldn't authenticate with https://pypi.python.org/simple/.
You can provide authentication details in your Dependabot dashboard by clicking into the account menu (in the top right) and selecting 'Config variables'.
When parsing below pdf for batch 2018 and semester 3, cpga values are wrong
PDF - USICT ECE Dec 2019
from ggsipu_result import iter_pages, has_page_results, iter_results
FILE="~/2015_128_B.TECH(ECE)_DECLARE_RESULT_DEC2019.pdf"
results = []
for page in iter_pages(FILE):
if has_page_results(page):
results = results + [r for r in iter_results(page) if r.batch == 2018 and r.semester == 3]
results.sort(key=lambda x: x.cgpa, reverse=True)
for i, result in enumerate(results):
print("{i}. {r}".format(i=i+1, r= result))
1. Result(Sem 3): [01216412818]AVINASH RAINA(2018) [CGPA: 9.0] #Should be 8.9
2. Result(Sem 3): [40116412818]ABHAY MAURYA(2018) [CGPA: 9.0]
3. Result(Sem 3): [40416412818]HIMANSHU DUSEJA(2018) [CGPA: 9.0]
4. Result(Sem 3): [42116412818]MOHIT BORA(2018) [CGPA: 9.0]
5. Result(Sem 3): [41116412818]RATNESH MOHAN(2018) [CGPA: 8.5] # Should be 8.8
......
All the marks and details should be deployed on Database so anyone can easily fetch all the details.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.