Skip to content

Justaus3r/desp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

desp

diff generator for Bahria University Exam Seatings

But Why?

Why not!. Also studying is for boomers(not really)...

Dowloads

Note: before downloading , please read the Note

binary built using nuitka and packaged using innosetup.

download from here

I want it to work for me:

Change the indices in HarvestIndices class to match the fetch points of your pdf. OR just change the horrible implementation of get_parsed_data() to a generic one that doesn't break all the times(please fork and do that + send a PR)

Now it does(probably).if it doesn't, create a Bug report on Github Issue Tracker

Note:

This is just a poc, will break in most cases.

Working Probability: 69%. Well, because its dumb and assumes that all pdfs are identical with 10 rows. Though it does perform a single iteration filtering to remove a single diff to ~~~~match with base-case. It uses embedded indices to harvest all the required data(hence called harvest indices), so it probably won't work for Different Departments OR Semesters (Though , might be made to work by changing the harvest indices).

A Better way might be to parse the pdf and use regex to match patterns and harvest data. The fix is not that hard, just requires a rewrite of get_parsed_data() keeping its signature same, But i am not motivated enough to do that

Starting from v0.2.0. desp should work with most, if not all student slips, since now it doesn't depend on embedded fetch indices , rather its somewhat smart and fetch's data based on patterns.

Icon:

Used from icon-icons.com under creative commons 4.0

License

Licensed Under GPLV3 and later.