Bring the power of Handsontable to Python and Jupyter Notebook
Project description
pyhandsontable
View a 2-D array, probably from pyexcel in Jupyter Notebook, and export to *.html
.
Installation
pip install pyhandsontable
Usage
>>> from pyhandsontable import generate_html, view_table >>> view_table(width=800, height=500, data=data_matrix, **kwargs)
Acceptable kwargs
- title: title of the HTML file
- maxColWidth: maximum column width. Set to 200.
- css: url of the Handsontable CSS
- js: url of the Handsontable Javascript
- css_custom: your custom CSS
- js_pre: Javascript before rendering the table (but after most other things.)
- js_post: Javascript after rendering the table.
- config: add additional config as defined in https://docs.handsontable.com/pro/5.0.0/tutorial-introduction.html
- This will override the default config (per key basis) which are:
{ rowHeaders: true, colHeaders: true, dropdownMenu: true, filters: true, modifyColWidth: function(width, col){ if(width > maxColWidth) return maxColWidth; } }
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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size pyhandsontable-0.1.7-py3-none-any.whl (4.8 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size pyhandsontable-0.1.7.tar.gz (2.8 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for pyhandsontable-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f19e72f0b65abe9502531bbfaf7f675f49f0e3a6ab2906c49113b62c40e793c9 |
|
MD5 | 5a5ab66394870c01ff135664220ee1a0 |
|
BLAKE2-256 | 2f2a72cd94500a453abb7f6f979fb1f8c3566962a01122f829dbae4e72dc590d |