Skip to main content

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


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)

Uploaded Source

Built Distribution

mylatextable-0.0.2-py3-none-any.whl (5.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page