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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file makexlsx-0.1.tar.gz
.
File metadata
- Download URL: makexlsx-0.1.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbb3470a36dd966900a9665c2e7fd30b0ee18b87b18603f325b0a3f8ca071061 |
|
MD5 | a7f0a9e8ef42903779738838aabad316 |
|
BLAKE2b-256 | b1163861d3a3c2214acfa76a19e8192d27561307d1634d4c5a791f93b4226e42 |
File details
Details for the file makexlsx-0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: makexlsx-0.1-py2.py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e03c95f9fe1b8fdd35eb1777387976a91063ab76625cde6871ea3f739fe99710 |
|
MD5 | a79f9a2c2c3b746ceee3938d5821e111 |
|
BLAKE2b-256 | 396b3bdccfb9da23e6232d55a4e875ae6116d41c6a70ccf820e8051cc9ca356b |