• Stars
    star
    2,815
  • Rank 15,536 (Top 0.4 %)
  • Language
    Python
  • License
    Other
  • Created about 10 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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.

xlwings - Make Excel fly with Python!

xlwings (Open Source)

xlwings is a BSD-licensed Python library that makes it easy to call Python from Excel and vice versa:

  • Scripting: Automate/interact with Excel from Python using a syntax that is close to VBA.
  • Macros: Replace your messy VBA macros with clean and powerful Python code.
  • UDFs: Write User Defined Functions (UDFs) in Python (Windows only).

Numpy arrays and Pandas Series/DataFrames are fully supported. xlwings-powered workbooks are easy to distribute and work on Windows and macOS.

xlwings includes all files in the xlwings package except the pro folder, i.e., the xlwings.pro subpackage.

xlwings PRO

xlwings PRO offers additional functionality on top of xlwings (Open Source), including:

  • xlwings Server: No local Python installation required, supports Excel on the web and Google Sheets in addition to Excel on Windows and macOS. Integrates with VBA, Office Scripts and Office.js and supports custom functions on all platforms.
  • xlwings Reports: the flexible, template-based reporting system
  • xlwings Reader: A faster and more feature-rich alternative for pandas.read_excel() (no Excel installation required)
  • Easy deployment via 1-click installer and embedded code
  • See the full list of PRO features

xlwings PRO is source available and dual-licensed under one of the following licenses:

License Key

To use xlwings PRO, you need to install a license key on a Terminal/Command Prompt like so (alternatively, set the env var XLWINGS_LICENSE_KEY:

xlwings license update -k YOUR_LICENSE_KEY

See the docs for more details.

License key for noncommercial purpose:

  • To use xlwings PRO for free in a noncommercial context, use the following license key: noncommercial.

License key for commercial purpose:

  • To try xlwings PRO for free in a commercial context, request a trial license key: https://www.xlwings.org/trial
  • To use xlwings PRO in a commercial context beyond the trial, you need to enroll in a paid plan (they include additional services like support and the ability to create one-click installers): https://www.xlwings.org/pricing

xlwings PRO licenses are developer licenses, are verified offline (i.e., no telemetry/license server involved) and allow royalty-free deployments to unlimited internal and external end-users and servers for a hassle-free management. Deployments use deploy keys that don't expire but instead are bound to a specific version of xlwings.

Links

xltrail

The Excel files are also tracked with xltrail. You can see the diffs here.

More Repositories

1

jsondiff

Diff JSON and JSON-like structures in Python
Python
643
star
2

git-xl

Git extension: Makes git-diff work for VBA in Excel workbooks (xls* file types)
Python
530
star
3

excel-requests

Excel HTTP Requests for Humans
C#
57
star
4

simulation-demo

Rapid web app prototyping with xlwings.
Python
30
star
5

xlwings-demo

A few xlwings use cases for demonstration purposes
Jupyter Notebook
22
star
6

xlwings-server-helloworld-fastapi

Demo repo for the xlwings Server
TypeScript
15
star
7

talks

Material from presentations
Jupyter Notebook
13
star
8

git-xltrail-addin

git-xltrail-addin is a BSD-licensed Excel Addin that integrates Git with Excel and vice versa. It works with Microsoft Excel on Windows.
C#
12
star
9

xlwings-server-auth-google

xlwings PRO allows you to easily connect Google Sheets to a FastAPI backend, including authentication and optional authorization. Call Python functions via buttons or extensions--no GCP cloud console project required!
Python
12
star
10

xlwings-factsheet-demo

This demo shows how xlwings Reports can automate the creation of pixel-perfect factsheets based on an Excel template.
Python
11
star
11

xlwings-server-github

Python
10
star
12

xlwings-officejs-quickstart

Python
6
star
13

officejs-helloworld

HTML
6
star
14

cryptoarbitrage

Excel workbook with Python xlwings powered backend to detect arbitrage opportunities in the cryptocurrency markets
Python
5
star
15

xlwings-eikon

Demo: xlwings and Refinitiv Eikon
Python
5
star
16

xlwings-automated-testing

Python
5
star
17

xlwings-server-sql

xlwings allows you to connect Google Sheets to SQL databases such as SQLite, PostgreSQL, MySQL, SQL Server, and Oracle.
Python
4
star
18

xlwings-server-plots

Python
4
star
19

dde_rtd

An Excel RTD server for connecting to DDE data sources
C#
3
star
20

ib-cli

A command-line interface for the Interactive Brokers API
Python
3
star
21

git-xl-examples

Example workbooks for git-xltrail
2
star
22

boilerplate

Python
2
star
23

cimport

Build and import Python C modules on the fly
Python
2
star
24

excel-automated-testing

Python
2
star
25

timegraph

A JavaScript graphing component with a time-based X-axis
JavaScript
2
star
26

SSRB_Best_Practice_Examples

http://www.ssrb.org/examples
1
star
27

static-excel-test

Python
1
star
28

thalesians-london-talk

https://www.meetup.com/thalesians/events/254407984/
Jupyter Notebook
1
star
29

xlwings-server

Python
1
star
30

socket.io-gateway

JavaScript
1
star
31

python-in-excel-samples

1
star
32

release-excel-workbooks

1
star
33

xlwings-database-demo

Demo app on how to use SQLAlchemy and Logging within the context of an xlwings app
Python
1
star
34

xlwings-server-digitaloceanfunctions

Python
1
star