{"id":22323349,"url":"https://github.com/joaopalmeiro/texbox","last_synced_at":"2026-04-30T18:31:17.577Z","repository":{"id":57474576,"uuid":"300315651","full_name":"joaopalmeiro/texbox","owner":"joaopalmeiro","description":"An opinionated Python CLI to create, organize, and prettify specific files of a LaTeX project.","archived":false,"fork":false,"pushed_at":"2020-10-12T13:56:14.000Z","size":74,"stargazers_count":1,"open_issues_count":9,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-07T03:47:26.757Z","etag":null,"topics":["cli","latex","prettify","pyparsing","pypi","python","python-cli"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/texbox/","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/joaopalmeiro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-01T14:49:14.000Z","updated_at":"2023-02-16T02:17:12.000Z","dependencies_parsed_at":"2022-09-10T02:21:26.970Z","dependency_job_id":null,"html_url":"https://github.com/joaopalmeiro/texbox","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/joaopalmeiro/texbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaopalmeiro%2Ftexbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaopalmeiro%2Ftexbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaopalmeiro%2Ftexbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaopalmeiro%2Ftexbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joaopalmeiro","download_url":"https://codeload.github.com/joaopalmeiro/texbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaopalmeiro%2Ftexbox/sbom","scorecard":{"id":525790,"data":{"date":"2025-08-11","repo":{"name":"github.com/joaopalmeiro/texbox","commit":"ccb16da43230d17fb5db3aa80de6655b2f888313"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/publish.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/joaopalmeiro/texbox/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/joaopalmeiro/texbox/publish.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/publish.yml:22","Warn: pipCommand not pinned by hash: .github/workflows/publish.yml:23","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":4,"reason":"6 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-48 / GHSA-fj7x-q9j7-g6q6","Warn: Project is vulnerable to: GHSA-6p56-wp2h-9hxr","Warn: Project is vulnerable to: GHSA-fpfv-jqm9-f5jm","Warn: Project is vulnerable to: GHSA-jrm6-h9cq-8gqw","Warn: Project is vulnerable to: PYSEC-2022-194 / GHSA-xcjx-m2pj-8g79","Warn: Project is vulnerable to: GHSA-jfmj-5v4g-7637"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T04:19:02.737Z","repository_id":57474576,"created_at":"2025-08-20T04:19:02.737Z","updated_at":"2025-08-20T04:19:02.737Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32473804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli","latex","prettify","pyparsing","pypi","python","python-cli"],"created_at":"2024-12-04T01:09:59.585Z","updated_at":"2026-04-30T18:31:17.560Z","avatar_url":"https://github.com/joaopalmeiro.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# texbox\n\n[![PyPI - Version](https://img.shields.io/pypi/v/texbox)](https://pypi.org/project/texbox/)\n![Publish to PyPI](https://github.com/joaopalmeiro/texbox/workflows/Publish%20to%20PyPI/badge.svg)\n\nAn opinionated Python CLI to create, organize, and prettify specific files of a LaTeX project.\n\n## Quickstart (CLI)\n\n### texbox_acronyms\n\n```text\nusage: texbox_acronyms [-h] -i PATH [-b {label,abbrv,full}] [-d]\n\nSort acronyms from an `acronyms.tex` file.\n\nrequired arguments:\n  -i, --input PATH      The path to the `acronyms.tex` file to be sorted.\n\noptional arguments:\n  -b, --by {label,abbrv,full}\n                        Macro argument name to sort by. (default: label)\n  -d, --descending      Sort descending instead of ascending.\n```\n\n### texbox_tables\n\n```text\nusage: texbox_tables [-h] -i PATH -o PATH -ck COL -t COL [-c COLS] [-a COLS]\n                     [-ac COLS] [-r] [-b] [-ca STR] [-sb COLS] [-fl PATH]\n                     [-pp STR]\n\nGenerate a LaTeX table from a bibliography-based file.\n\nrequired arguments:\n  -i, --input PATH      The path to the file to be tabulated.\n  -o, --output PATH     The path to the file for the generated LaTeX table.\n  -ck, --cite-key-col COL\n                        The column name for the cite key.\n  -t, --title-col COL   The column name for the title.\n\noptional arguments:\n  -c, --cols COLS       The subset of columns to maintain. By default, all\n                        columns are kept except the title column.\n  -a, --acronym-col-names COLS\n                        The subset of columns whose name is an acronym and\n                        which must be wrapped in a macro. By default, no\n                        column name is considered an acronym.\n  -ac, --acronym-cols COLS\n                        The subset of columns whose comma-separated values are\n                        acronyms and which must be wrapped in a macro. By\n                        default, no columns are considered to have acronyms.\n  -r, --rotate          Rotate the generated LaTeX table (landscape mode).\n  -b, --break-col-headings\n                        Break the column headings of the generated LaTeX table\n                        with more than one word.\n  -ca, --caption STR    The caption for the generated LaTeX table.\n  -sb, --sort-by COLS   The subset of columns to sort by.\n  -fl, --footer-legend PATH\n                        The path to the file with the footer legend entries.\n  -pp, --table-position-params STR\n                        The position parameters for the table environment. By\n                        default, no parameters are specified.\n```\n\n## Development quickstart\n\n- `make init`.\n- `make shell` or `pipenv shell`.\n\n## References\n\n- [LaTeX/Glossary](https://en.wikibooks.org/wiki/LaTeX/Glossary).\n- [Publishing package distribution releases using GitHub Actions CI/CD workflows](https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/).\n- [The Comprehensive LaTeX Symbol List](https://math.uoregon.edu/wp-content/uploads/2014/12/compsymb-1qyb3zd.pdf).\n\n## Notes\n\n- Pipenv:\n  - `pipenv install --python 3.6 --dev`.\n  - `pipenv install -e .`.\n  - `pipenv install pyparsing`.\n  - `pipenv graph`.\n- Git:\n  - Delete tag: `git push --delete origin tagname`.\n- pandas:\n  - [`pandas.DataFrame.to_latex`](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.to_latex.html) documentation.\n- Commands:\n  - `python -m texbox.cli_acronyms -h`.\n  - `texbox_tables -i literature_review_summary.csv -ck \"Cite Key\" -o table1.tex -t \"Paper\" -c \"Year,OOTL,BC,MCC,Other Tasks,uFeatures,Multiple Models,Tracking of Changes,OOTB,Context,Target Group,Model,OSS\" -a \"OOTL,BC,MCC,uFeatures,OOTB,OSS\" -r -b -ca \"Summary of visual tools for \\gls{ML} Model Evaluation.\" -sb \"Year\" -fl literature_review_summary_footer.txt -ac \"Target Group\"`.\n  - `texbox_tables -i literature_review_summary.csv -ck \"Cite Key\" -o table1.tex -t \"Paper\" -c \"Year,Granularity\" -ca \"Summary of granularities of visual tools for \\gls{ML} Model Evaluation.\" -sb \"Year\" -pp h`.\n  - `texbox_pdf -i doc.pdf -p 25-28`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaopalmeiro%2Ftexbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoaopalmeiro%2Ftexbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaopalmeiro%2Ftexbox/lists"}