texbox
An opinionated Python CLI to create, organize, and prettify specific files of a LaTeX project.
Quickstart (CLI)
texbox_acronyms
usage: texbox_acronyms [-h] -i PATH [-b {label,abbrv,full}] [-d]
Sort acronyms from an `acronyms.tex` file.
required arguments:
-i, --input PATH The path to the `acronyms.tex` file to be sorted.
optional arguments:
-b, --by {label,abbrv,full}
Macro argument name to sort by. (default: label)
-d, --descending Sort descending instead of ascending.
texbox_tables
usage: texbox_tables [-h] -i PATH -o PATH -ck COL -t COL [-c COLS] [-a COLS]
[-ac COLS] [-r] [-b] [-ca STR] [-sb COLS] [-fl PATH]
[-pp STR]
Generate a LaTeX table from a bibliography-based file.
required arguments:
-i, --input PATH The path to the file to be tabulated.
-o, --output PATH The path to the file for the generated LaTeX table.
-ck, --cite-key-col COL
The column name for the cite key.
-t, --title-col COL The column name for the title.
optional arguments:
-c, --cols COLS The subset of columns to maintain. By default, all
columns are kept except the title column.
-a, --acronym-col-names COLS
The subset of columns whose name is an acronym and
which must be wrapped in a macro. By default, no
column name is considered an acronym.
-ac, --acronym-cols COLS
The subset of columns whose comma-separated values are
acronyms and which must be wrapped in a macro. By
default, no columns are considered to have acronyms.
-r, --rotate Rotate the generated LaTeX table (landscape mode).
-b, --break-col-headings
Break the column headings of the generated LaTeX table
with more than one word.
-ca, --caption STR The caption for the generated LaTeX table.
-sb, --sort-by COLS The subset of columns to sort by.
-fl, --footer-legend PATH
The path to the file with the footer legend entries.
-pp, --table-position-params STR
The position parameters for the table environment. By
default, no parameters are specified.
Development quickstart
make init.make shellorpipenv shell.
References
- LaTeX/Glossary.
- Publishing package distribution releases using GitHub Actions CI/CD workflows.
- The Comprehensive LaTeX Symbol List.
Notes
pipenv install --python 3.6 --dev.pipenv install -e ..pipenv install pyparsing.pipenv graph.- Delete tag:
git push --delete origin tagname. python -m texbox.cli_acronyms -h.pandas.DataFrame.to_latexdocumentation.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 Model Evaluation." -sb "Year" -fl literature_review_summary_footer.txt -ac "Target Group".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 Model Evaluation." -sb "Year" -pp h.
Metadata
Release files for texbox 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| texbox-0.2.1.tar.gz | 17.9 kB | Without provenance | Details for texbox-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| texbox-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for texbox-0.2.1-py3-none-any.whl |
Total release size: 27.6 kB
Release files / texbox-0.2.1.tar.gz
| Download URL | texbox-0.2.1.tar.gz |
|---|---|
| Size | 17.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee61d553069a55defaf3fb3ef779d23ba5f6ca0b0909ca504aa6fcedfc94b32a
|
|
BLAKE2b-256 checksum How to use checksums |
7ce99af2376d280723fd469b3e7234eb2ac3c4bc9978812faeac38bc7a6aa053
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.12
|
Release files / texbox-0.2.1-py3-none-any.whl
| Download URL | texbox-0.2.1-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e579ede01719eb60422d8fda3cbf55e69e990f4c03ab7d3216d13e9296765b09
|
|
BLAKE2b-256 checksum How to use checksums |
69e9f87a444477a9e8bca733d3d81dfc9185e85bf3f49c346107eab19af09c23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.12
|
Security for texbox 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.