ksauraj / jee_counsellor

"Introducing jee_counsellor - a tool to display colleges based on Jee Mains rank. Get personalized informations based on your rank and make informed decisions.
GNU General Public License v3.0
13 stars 8 forks source link

feature: export to pdf, csv and json along with html #19

Open Tholkappiar opened 7 months ago

Tholkappiar commented 7 months ago

Feature Request: Export to PDF/CSV

Description

New feature that allows users to export the displayed data to PDF or CSV directly from the HTML page or form the script itself. This enhancement would provide users with the ability to save and share the information in a convenient and portable format.

Is this PDF/CSV formats or okay for the tool , or if you have any other format suggestions kidly give the response regarding this !

Expected Behavior

ksauraj commented 7 months ago

Feature Request: Export to PDF/CSV

Description

New feature that allows users to export the displayed data to PDF or CSV directly from the HTML page or form the script itself. This enhancement would provide users with the ability to save and share the information in a convenient and portable format.

Is this PDF/CSV formats or okay for the tool , or if you have any other format suggestions kidly give the response regarding this !

Expected Behavior

  • The export options should include PDF and CSV formats.
  • The exported file should accurately represent the currently displayed data on the HTML page.

Seems useful and interesting feature to add, would you like to work on this?

Tholkappiar commented 7 months ago

yes ofcourse , can you provide the export format which will be useful for the users ?

ksauraj commented 7 months ago

yes ofcourse , can you provide the export format which will be useful for the users ?

In my opinion, pdf will be better option. Also talking about csv it won't take much efforts as we already have option in pandas to do that. You can also go for both option ig.

ksauraj commented 7 months ago

You want this to be assigned under IWOC2024?

Tholkappiar commented 7 months ago

Yes ! Under IWOC 2024 !

ksauraj commented 7 months ago

Yes ! Under IWOC 2024 !

Okay I'm assigning this to you. Btw you can add both the features too, exporting in csv and pdf .

Tholkappiar commented 7 months ago

In my opinion, pdf will be better option. Also talking about csv it won't take much efforts as we already have option in pandas to do that. You can also go for both option ig.

Okay sure I will export in csv and in pdf too , i will also try exporting in json , is that okay for you ? consider the difficulty level for this feat issue , Thank you !

ksauraj commented 7 months ago

In my opinion, pdf will be better option. Also talking about csv it won't take much efforts as we already have option in pandas to do that. You can also go for both option ig.

Okay sure I will export in csv and in pdf too , i will also try exporting in json , is that okay for you ? consider the difficulty level for this feat issue , Thank you !

I hope you won't be using lot of libraries for that, if that's the case I might label it as hard considering you will add all three options.

Tholkappiar commented 7 months ago

yeah okay , i will take this as challenge and update you ! :+1:

ksauraj commented 7 months ago

yeah okay , i will take this as challenge and update you ! 👍

Lol, All the best

Tholkappiar commented 7 months ago

Planning to include these libs in the script , is including these libs okay for the script ? I have to use the fpdf or some libs to export the pdf !

import json
from fpdf import FPDF
Tholkappiar commented 7 months ago

correctly exporting csv and json (also structured the json data while generating ), but exporting in pdf format is such a hard thing now , have any ideas regarding this , the text in the pdf is overlaying to other texts (used FPDF library) ?

ksauraj commented 7 months ago

Planning to include these libs in the script , is including these libs okay for the script ? I have to use the fpdf or some libs to export the pdf !

import json
from fpdf import FPDF

If no other option, use it.

Tholkappiar commented 7 months ago

correctly exporting csv and json (also structured the json data while generating ), but exporting in pdf format is such a hard thing now , have any ideas regarding this , the text in the pdf is overlaying to other texts (used FPDF library) ?

Any ideas ?

ksauraj commented 7 months ago

correctly exporting csv and json (also structured the json data while generating ), but exporting in pdf format is such a hard thing now , have any ideas regarding this , the text in the pdf is overlaying to other texts (used FPDF library) ?

Nah no idea about that, try other libs if available.