xlwings/xlwings
xlwings is a Python library that makes it easy to call Python from Excel and vice versa. It works with Excel on Windows, macOS, and Excel on the web. observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 98
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 8.5
- age_days: 4552
- days_rel: 16
- days_push: 9
- n_releases_24m: 47
Adoption not part of the score
3396 stars · 537 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
xlwings is a BSD-licensed Python library that lets you call Python from Excel and automate Excel from Python, replacing VBA macros with Python scripts, macros, and user-defined functions (UDFs). It supports NumPy and pandas, works with desktop Excel on Windows and macOS, and extends to Excel on the web via xlwings Lite and the commercial xlwings Server/PRO offerings.
Use cases
- automate excel with python
- replace vba macros with python
- write excel user-defined functions in python
- read and write excel files with pandas
- build excel reports from python
- run python calculations from excel cells
- connect excel to databases and apis
- use python in excel on the web
When to choose
- you want to automate Excel with Python instead of VBA
- you need pandas/NumPy data flowing between Python and spreadsheets
- you want Python-powered UDFs or macros in Excel
- you need template-based reporting or Excel automation on Windows and macOS
When to avoid
- you only need to read Excel files without Excel installed and don't need the PRO Reader
- you need a fully open-source server-side solution without a commercial license
- you work primarily with Google Sheets or LibreOffice rather than Excel
- you need UDFs on macOS (Windows-only for classic UDFs)
Facets
library · maturity active
workflow-automation data-science etl sdk data-science spreadsheets developer-tools windows python cross-platform excel spreadsheet-automation vba-replacement udf pandas numpy jupyter office-addin reporting pyodide automation macos web-server
5 sources
- readme: https://github.com/xlwings/xlwings · fetched 2026-08-28 · afcbe12ae01a
- homepage: https://www.xlwings.org · fetched 2026-08-29 · a4562d16d575
- site_page: https://www.xlwings.org/features · fetched 2026-08-29 · 90ae356ffcdd
- site_page: https://www.xlwings.org/pricing · fetched 2026-08-29 · 0f8be6a7f55c
- site_page: https://lite.xlwings.org · fetched 2026-08-29 · b968433292c4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| xlwings/xlwings | main | 99 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem