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.3.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mylatextable-0.0.3-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file mylatextable-0.0.3.tar.gz.

File metadata

  • Download URL: mylatextable-0.0.3.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for mylatextable-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b696df44940d5bc43fa7c1460fe5e712b4c370306feda744a63d1bf42c3293d6
MD5 64f4ccf8138d18f6b3e403d73a4ff5b3
BLAKE2b-256 e4f930bf706ff89c01af08cea06dbfdb392e3a9ce8c4b02764ff77799a9f3a2c

See more details on using hashes here.

File details

Details for the file mylatextable-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: mylatextable-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for mylatextable-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a1ffb47016d9a198d3c67e41e87f61797f7374ce421c6be43bc8200901051dba
MD5 b1d426e3901ed3995b9d71a2c2587e51
BLAKE2b-256 8b177ddce44ffd68867a45181558f8ccd39a35d5d8af46909195ce573ca84eca

See more details on using hashes here.

Supported by

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