xlwings - 翔べ!Excel¶
xlwings (Open Source) is a BSD-licensed Python library that makes it easy to call Python from Excel and vice versa:
Scripting: VBAに近いシンタックスを用いて、PythonからExcelを自動化/相互操作します。
Macros: 簡潔で強力なPythonのコードで、VBAマクロを置き換えます。
UDFs: Pythonでユーザー定義関数(User Defined Functions, UDFs)を書きます(Windowsのみ)。
Numpy arrays と Pandas Series/DataFrames を完全にサポートしています。 Windows と Mac の両環境とも、xlwingsで強化されたワークブックの配布/動作を簡単に行えます。
Start here if you are new to xlwings. Learn about the syntax, the RunPython
call, the add-in and UDFs.
More in-depths explanations about converters, debugging or how to write your own add-in.
Use advanced features such as:
xlwings Server (self-hosted): no local Python required
xlwings Reports: work with templates
1-click installer: bundle Python and all your packages
Embedded code: easy deployment
Ultra fast file reader: no Excel required
No more VBA: Call Python from Office Scripts and Office.js
Excel on the web & Google Sheets
Free for non-commercial use only.
This is a description of all the classes, methods, properties and functions that xlwings offers to work with the Excel object model.