Skip to main content

Make XLSX spreadsheet from tabular data files

Project description

Do you often import CSV files to Excel, and find yourself doing the same mouse-clicky nonsense every time to make it look nice? Would you like all that fiddling with column widths, autofiltering, text wrapping and centering to just happen by magic? Yes, so would I. Which is why I wrote this:

  • It takes one or more tabular data files (not just CSV, but any format that tablib will accept) and produces an XLSX workbook with one table per sheet.

  • If a table header is present, it’s made bold, the header line is frozen, and autofiltering is applied to all the columns.

  • Wrapping is applied to any columns that have line breaks in their values, or lines beyond a certain (user-defined) length.

  • All numeric columns are right-justified. Non-numeric columns are centred if their width is below a certain (user-defined) size, otherwise they are left-justified.

  • It uses the amazing xlsxwriter package to do all the output.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

makexlsx-0.1.tar.gz (7.4 kB view hashes)

Uploaded Source

Built Distribution

makexlsx-0.1-py2.py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 2 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