Quickly generate LaTeX tables
Project description
mylatextable
This package intends to make it easier to create LaTeX-formated tables from tabular data that is available in Python.
A typical use case would be
from mylatextable import MyLatexTable
header = [...] # Define header fields
table = MyLatexTable(header_fields=header, use_booktabs=True)
rows = .... # create a list of rows according to your logic
for row in rows:
table.add_row(row)
print(table.get_latex()) # display LaTeX code
Release
To release a new version, update the version number in pyproject.toml and enter the following commands.
python -m build .
python -m twine upload dist/*
This package is available at https://pypi.org/project/mylatextable/.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mylatextable-0.0.2.tar.gz
(4.0 kB
view details)
Built Distribution
File details
Details for the file mylatextable-0.0.2.tar.gz
.
File metadata
- Download URL: mylatextable-0.0.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19a96dcb8140df92b68888ce7c639b8f714cc47c544b69e8eefcc1134c355a8e |
|
MD5 | 0e86127684e009f6e841df03f0538214 |
|
BLAKE2b-256 | ec73b7002e83f84e76c3743ab81409d46e6a5d3ee7c8a96a5ae599c68cd1c076 |
File details
Details for the file mylatextable-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: mylatextable-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a62da4f4324e0dead1ee412c3dc22e03a998cfc9385ac1f1cbc49f874efce902 |
|
MD5 | 623920e4a0c379a21393185782852c68 |
|
BLAKE2b-256 | 6e2e82bdc1462c5d93ab8e8daf3d42900fcfc32d5247e8931a643884cdbdec7a |