XlsxWriter is a Python module for writing files in the Excel 2007+ XLSX file format.
Multiple worksheets can be added to a workbook and formatting can be applied to cells. Text, numbers, and formulas can be written to the cells.
This module cannot be used to modify or write to an existing Excel XLSX file. There are some Alternative modules for handling Excel files Python modules that do that.
The XlsxWriter module is a port of the Perl Excel::Writer::XLSX module. It is a work in progress. See the Comparison with Excel::Writer::XLSX section for a list of currently ported features.
XlsxWriter is written by John McNamara who also wrote the perl modules Excel::Writer::XLSX and Spreadsheet::WriteExcel and who is the maintainer of Spreadsheet::ParseExcel.
XlsxWriter is intended to have a high degree of compatibility with files produced by Excel. In most cases the files produced are 100% equivalent to files produced by Excel. In fact the test suite contains a range of test cases that verify the output of XlsxWriter against actual files created in Excel.
XlsxWriter is licensed under a BSD License and is available as a git repository on GitHub.