Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create /api/parse-packet endpoint #237

Open
geoffrey-wu opened this issue Dec 20, 2023 · 1 comment
Open

Create /api/parse-packet endpoint #237

geoffrey-wu opened this issue Dec 20, 2023 · 1 comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request project Long-term project to work on wontfix This will not be worked on

Comments

@geoffrey-wu
Copy link
Member

This would run the packet-parser.py file from the qbreader/packet-parser repository (which could be included as a submodule or something).

Alternatively, I might want to extend the qbreader/packet-parser repository to be its own website that runs on its own Heroku dyno (since we are running python code on arbitrary input, there shouldn't be any vulnerabilities but there is potential to overwhelm the server, so better to be safe).

@geoffrey-wu geoffrey-wu added documentation Improvements or additions to documentation enhancement New feature or request project Long-term project to work on wontfix This will not be worked on labels Dec 20, 2023
@geoffrey-wu geoffrey-wu pinned this issue Aug 18, 2024
@skysomorphic
Copy link
Member

I think it could be good if packet-parser eventually becomes a python package that could serve multiple functions, as it has a variety of applications (albeit some unintended in its current state) given its ability to classify question categories and also detect formatting mistakes. This would also make it generally more accessible for tournament directors or set writers who may be unfamiliar with using quizbowl software. At present, packet-parser already has a niche carved out in that YAPP doesn't support packets that are pdfs.

A standalone web interface for a python package could be created with something like Flask.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request project Long-term project to work on wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants