Styled Excel spreadsheets with OpenPyXL, in a few lines of Python.
Describe each column once, with its title, content and styles, and cellmate writes the sheet. Styles are reusable objects, so the same look carries across columns, sheets and workbooks.
pip install cellmateStyle: font, border, fill, alignment and number format in one reusable object.Column: a title and its content, with a style for each (or one per row).Sheet: a list of columns that becomes a worksheet, or a file of its own.Workbook: several sheets in one file, still a regular OpenPyXLWorkbook.- Built-in styles:
TITLE1,TITLE2,CURRENCY,PERCENTAGE,DATEand more.
See the quick start and the API reference.
