Skip to main content

📊 csvtex - Convert CSV Files to LaTeX Tables 📄

GitHub repo PyPI package Code style: black License: MIT Python versions

csvtex is a Python package that allows you to effortlessly convert CSV files into beautifully formatted LaTeX tables. 🎨💅

🚀 Installation

You can install csvtex using pip:

pip install csvtex

🎓 Usage

Here's a quick example of how to use csvtex:

from csvtex import create_latex_table, save_latex_table

# Create a LaTeX table from a CSV file
table = create_latex_table('data.csv', caption='My Table', label='tab:mytable')

# Save the LaTeX table to a file
save_latex_table(table, 'table.tex')

For more detailed usage and examples, please refer to the documentation.

✨ Features

  • 📥 Convert CSV files to LaTeX tables with ease
  • 🎨 Customize table captions, labels, and column alignments
  • 🔧 Specify units for each column
  • 🚫 Automatically escape special LaTeX characters
  • 📜 Generate complete LaTeX documents with multiple tables
  • 🌐 Support for different CSV separators (comma, semicolon, tab)
  • 🐍 Compatible with Python 3.6+

🤝 Contributing

Contributions are welcome! If you find a bug, have a feature request, or want to contribute code, please open an issue or submit a pull request on the GitHub repository.

📄 License

csvtex is released under the MIT License.

🙏 Acknowledgements

  • This project was inspired by the need for a simple and efficient way to convert CSV data into LaTeX tables.
  • Thanks to the open-source community for their valuable contributions and support.

🌟 Give csvtex a try and unleash the power of beautiful LaTeX tables! 🌟

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

csvtex-1.0.4.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.

csvtex-1.0.4-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file csvtex-1.0.4.tar.gz.

File metadata

  • Download URL: csvtex-1.0.4.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.1 Linux/5.15.0-88-generic

File hashes

Hashes for csvtex-1.0.4.tar.gz
Algorithm Hash digest
SHA256 108bdb5d1300f91ec43ce6c686d9451192ec709d53261d64f64a560bf4d7e3d2
MD5 ec4b38a9a0b8b8023c642fb9dcf4aa0f
BLAKE2b-256 27e606a6af0f2eeb38b008ab97f5604abba4e6febf78d16f2beb92e3f16d8ea2

See more details on using hashes here.

File details

Details for the file csvtex-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: csvtex-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.1 Linux/5.15.0-88-generic

File hashes

Hashes for csvtex-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 796ab545999f5d2757e29ea1666858a7b386247f3218114994731b15942c9794
MD5 25b177194a9fa307edffdab5206bf18c
BLAKE2b-256 0cc700a54cc94875fe720e24ade025b06353ffa816b39d142392645255616421

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

Supported by

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