Skip to main content

No project description provided

Project description

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

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

csvtex-1.0.2.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

csvtex-1.0.2-py3-none-any.whl (4.7 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