{"id":21627536,"url":"https://github.com/billsioros/latex-homework-parser","last_synced_at":"2026-05-03T12:36:08.655Z","repository":{"id":39019686,"uuid":"233396479","full_name":"billsioros/latex-homework-parser","owner":"billsioros","description":"Parsing homework assignments and generating LaTeX","archived":false,"fork":false,"pushed_at":"2023-12-15T20:34:02.000Z","size":97,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T20:34:48.277Z","etag":null,"topics":["32-bit","generator","homework","homework-assignments","homework-exercises","homework-helper","homework-template","latex","latex-template","parser","python38"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/billsioros.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-12T13:25:52.000Z","updated_at":"2021-01-12T23:24:19.000Z","dependencies_parsed_at":"2025-03-18T20:42:28.351Z","dependency_job_id":null,"html_url":"https://github.com/billsioros/latex-homework-parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/billsioros/latex-homework-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billsioros%2Flatex-homework-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billsioros%2Flatex-homework-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billsioros%2Flatex-homework-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billsioros%2Flatex-homework-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/billsioros","download_url":"https://codeload.github.com/billsioros/latex-homework-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billsioros%2Flatex-homework-parser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266732666,"owners_count":23976072,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["32-bit","generator","homework","homework-assignments","homework-exercises","homework-helper","homework-template","latex","latex-template","parser","python38"],"created_at":"2024-11-25T01:16:53.398Z","updated_at":"2026-05-03T12:36:03.626Z","avatar_url":"https://github.com/billsioros.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LaTeX Homework Parser\n\n## Set Up\n\n    python -m venv env\n    pip install -r requirements.txt\n\n## Example\n\n    python parse.py -l example/homework.pdf -s example/solution.tex\n\nThe script is expecting a  **PDF** file containing distinctly numbered sections, such as [this](example/homework.pdf).\n\nThe script can be run with no input file, in which case it will create\na non assignment-specific LaTeX template.\n\n## Available Options\n\n    usage: parse.py [-h] [-l LOAD] -s SAVE [-f]\n\n    LaTeX Project Base Generation\n\n    optional arguments:\n    -h, --help            show this help message and exit\n    -l LOAD, --load LOAD  specify the input file\n    -s SAVE, --save SAVE  specify the output file\n    -f, --force           do not prompt before overwriting\n\n## Configuration\n\nConfiguration can be achieved through a JSON configuration file,\nby the name of **.config.json**.\n\nAn example of such a file' s contents can be seen below.\n\n```json\n{\n    \"title\": {\n        \"primary\": \"Lorem Ipsum\",\n        \"secondary\": \"Consectetur adipiscing elit\"\n    },\n    \"authors\": [\n        \"Nullam lacinia\"\n    ],\n    \"packages\": [\n        \"alphabeta\",\n        \"amsmath\",\n        \"amsthm\",\n        \"caption\",\n        \"color\",\n        \"fullpage\",\n        \"graphicx\",\n        \"latexsym\",\n        \"listings\",\n        \"pxfonts\",\n        \"stackrel\",\n        \"titlesec\",\n        \"subfig\",\n        \"tikz\",\n        \"float\",\n        \"hyperref\"\n    ],\n    \"commands\": {\n        \"R\": \"\\\\mathbb{R}\",\n        \"N\": \"\\\\mathbb{N}\",\n        \"norm\": \"\\\\left\\\\lVert#1\\\\right\\\\rVert\",\n        \"abs\": \"\\\\left\\\\lvert#1\\\\right\\\\rvert\",\n        \"margin\": \"\\\\hspace{4pt}\",\n        \"code\": \"\\\\lstinputlisting[caption={#2}]{#1}\"\n    },\n    \"environments\": {\n        \"rcases\": {\n            \"begin\": \"\\\\left.\\\\begin{aligned}\",\n            \"end\": \"\\\\end{aligned}\\\\right\\\\rbrace\"\n        },\n        \"matlab\": {\n            \"begin\": \"\\\\begin{figure}[hp]\\\\centering\\\\captionsetup{justification=centering}\",\n            \"end\": \"\\\\end{figure}\"\n        }\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbillsioros%2Flatex-homework-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbillsioros%2Flatex-homework-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbillsioros%2Flatex-homework-parser/lists"}