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-hypernode.com/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 hashes)
Built Distribution
Close
Hashes for mylatextable-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a62da4f4324e0dead1ee412c3dc22e03a998cfc9385ac1f1cbc49f874efce902 |
|
MD5 | 623920e4a0c379a21393185782852c68 |
|
BLAKE2b-256 | 6e2e82bdc1462c5d93ab8e8daf3d42900fcfc32d5247e8931a643884cdbdec7a |