A Jupyter extensions to make notebooks web api for Excel to call. Jupyter Excel
Project description
jupyterexcel Package
This is a package to make Jupyter.ipynb file a web api with json result. SourceCode in JupyterExcel
This Jupyter Excel web api can be connected with Excel addin which call this web api. Excel formula will generate a web api url and thorugh winhttp to get json result.
Installation
pip install jupyterexcel
then run
jupyter serverextension enable --py --sys-prefix jupyterexcel
Server setting
Please config jupyter server like the following:
c.NotebookApp.token = 'ABCD' #it is good to use token mode for web api call to pass through
Example
The following screenshot shows the sample notebook file with a function sum. You can download TestingJupyter.ipynb or create your own. http://localhost:8888/Excel/TestingJupyter.ipynb?token=ABCD&functionname=sum&1=11&2=8&3=6
The following screenshot shows how excel works
Future Development Plan
- Make jupyterexcel can take Post call for large data from Excel
- Make Excel client side more easier to use, such as generate Excel formula proxy
- Possible add ribbon in Excel and call into Jupyter function with button click
Reference
read some code from appmode
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
Built Distribution
Hashes for jupyterexcel-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9b03c91a0e84b6bb11e962722efddf30a4b3208ca361ff27d1e86d4bd46f753 |
|
MD5 | bd144293a7f0b9e974f7f8f25177285c |
|
BLAKE2b-256 | 26143b5d8e0c63e15446dcc040358a2812712c440b7a095108f6dc26b90b071f |