Skip to main content

Make Excel fly: Interact with Excel from Python and vice versa.

Project description

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 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:

  • 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):

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.

Project details

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xlwings-0.30.15.tar.gz (1.1 MB view hashes)

Uploaded source

Built Distributions

xlwings-0.30.15-cp312-cp312-win_amd64.whl (1.7 MB view hashes)

Uploaded cp312

xlwings-0.30.15-cp311-cp311-win_amd64.whl (1.7 MB view hashes)

Uploaded cp311

xlwings-0.30.15-cp310-cp310-win_amd64.whl (1.7 MB view hashes)

Uploaded cp310

xlwings-0.30.15-cp39-cp39-win_amd64.whl (1.7 MB view hashes)

Uploaded cp39

xlwings-0.30.15-cp38-cp38-win_amd64.whl (1.7 MB view hashes)

Uploaded cp38

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page