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! 🌟

Metadata

Release files for csvtex 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for csvtex 1.0.4
File Size Uploaded
csvtex-1.0.4.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for csvtex 1.0.4
File Interpreter ABI Platform
csvtex-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 9.1 kB

Release files / csvtex-1.0.4.tar.gz

Download URL csvtex-1.0.4.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
108bdb5d1300f91ec43ce6c686d9451192ec709d53261d64f64a560bf4d7e3d2
BLAKE2b-256 checksum
How to use checksums
27e606a6af0f2eeb38b008ab97f5604abba4e6febf78d16f2beb92e3f16d8ea2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.1 Linux/5.15.0-88-generic

Release files / csvtex-1.0.4-py3-none-any.whl

Download URL csvtex-1.0.4-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
796ab545999f5d2757e29ea1666858a7b386247f3218114994731b15942c9794
BLAKE2b-256 checksum
How to use checksums
0cc700a54cc94875fe720e24ade025b06353ffa816b39d142392645255616421
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.1 Linux/5.15.0-88-generic

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page