xlwings is a Python library that makes it easy to call Python from Excel and vice versa. It works with Excel on Windows and macOS as well as with Google Sheets and Excel on the web.
Why do you think that https://github.com/jmcnamara/XlsxWriter is a good alternative to xlwings