xlsxdatagrid
xlsxdatagrid is a python package for writing well-formatted and type-safe tables to excel. It uses xlsxwriter to write to excel, and ideally tables are defined using pydantic, (see example).
Check out the examples in the left hand sidebar to better understand the output.