xloil
msgraph-sample-office-addin
xloil | msgraph-sample-office-addin | |
---|---|---|
5 | 1 | |
117 | 8 | |
- | - | |
8.8 | 8.7 | |
about 1 month ago | 8 days ago | |
C++ | JavaScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
xloil
-
XlOil: The fastest library for writing Excel functions in Python
I recently discovered xlOil after many years with xlWings and periodically checking for other options out there. xlOil is an order of magnitude faster than xlWings or VBA (benchmarks taken from here: https://github.com/lukedays/excel-benchmarks) while still being easy to use and the most feature complete!
With xlOil, you can easily write functions in Python and have them appear in Excel as worksheet functions and macros.
What sets xlOil apart is its ability to have very low overheads when calling your own worksheet functions. This means you can write complex functions without sacrificing performance. xlOil supports different languages via plugins, including C++, Python, and SQL.
With xlOil, you'll have access to a range of features that make writing Excel functions in Python a breeze. For instance, the Python syntax for declaring Excel functions is incredibly concise, and you can use optional type checking of function parameters and support for keyword arguments. xlOil also offers tight integration with numpy, so you can enjoy very low overheads for array functions.
Another advantage of xlOil is its support for a range of data structures, including tuples, lists, dictionarys, and pandas dataframes. Additionally, you can use xlOil to write async functions, RTD functions, and on-the-fly RTD server creation. xlOil also supports macro-type functions that write to ranges on the sheet, and you can access the Excel Application object, hook Excel events, and pass any python object back to Excel and then back into any python function.
xlOil even offers simple and quick add-in deployment and two-way connection to Jupyter notebooks, making it easy to run worksheet functions in Jupyter and query variables in the jupyter kernel. On-the-fly creation/destruction of COM addin objects and Ribbon UI is also supported.
Check it out on Github and star it to encourage the developer to keep supporting this great contribution to the Open Source community!
https://github.com/cunnane/xloil
- GitHub - cunnane/xloil: xlOil provides framework for interacting with Excel in different programming languages (python & C++ currently)
-
XlOil: Easy Excel Integration for Python and SQL
Some benchmarks here comparing to xlwings: https://github.com/cunnane/xloil/discussions/6 (although these are slightly out of date and xloil is now faster)
-
Running python from excel
xlOil https://github.com/cunnane/xloil
msgraph-sample-office-addin
-
How to make Graph API call from localhost?
I set up this example in JS https://github.com/microsoftgraph/msgraph-sample-office-addin. The request URL used in this example looks like this:
What are some alternatives?
xlwings - 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.
MHA - Message Header Analyzer Add-in For Outlook
excel-benchmarks - Benchmarks for Excel Formulas and Add-Ins
BibWord - Microsoft Word and Bibliography Styles extender.
pylightxl - A light weight, zero dependency, minimal functionality excel read/writer python library
windowsupdates-webapplication-sample
excelbind - Expose your python code in Excel
script-lab - Create, run and share your code directly from Office
dbd - dbd is a database prototyping tool that enables data analysts and engineers to quickly load and transform data in SQL databases.
msgraph-sample-rubyrailsapp - This sample demonstrates how to use the Microsoft Graph REST API to access data in Office 365 from Ruby on Rails apps.
sqllex - The most pythonic ORM (for SQLite and PostgreSQL). Seriously, try it out!
OneMore - A OneNote add-in with simple, yet powerful and useful features