Helpers for Jupyter notebooks: automated menu, JSON visualizer, plug javascript
Project description
jyquickhelper: javascript extensions for notebooks
Helpers for Jupyter notebooks. Example to run from a notebook:
from jyquickheler import add_menu_notebook add_menu_notebook()
A menu is displayed:
first section of level 2
section section of level 2
…
It helps rendering javascript:
from jyquickhelper import RenderJS css = ["https://cdnjs.cloudflare.com/ajax/libs/c3/0.4.21/c3.min.css"] RenderJS(script, css=css, libs = [ dict(path="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js", name="d3", exports="d3"), dict(path="https://cdnjs.cloudflare.com/ajax/libs/c3/0.4.21/c3.min.js", name="c3", exports="c3", deps=["d3"])])
See c3.ipynb. Or visualizing JSON:
from jyquickhelper import JSONJS JSONJS(dict(name="xavier", city="Paris"), html_only=True, show_to_level=3)
See nb_json.ipynb.
Links:
History
current - 2021-01-01 - 0.00Mb
0.0.0 - 2021-01-01 - 0.00Mb
9: remove raise … (…) from e in setup.py (2018-06-16)
1: [won’t fix] use pytablewriter + jsgrid instead of qgrid (2018-06-16)
7: add notebook on vis.js (2018-03-26)
6: investigate a way to use local javascript (2018-03-26)
5: add a function to show diagram in notebooks based on viz.js (2018-03-26)
4: add a notebook on vizjs (2018-03-07)
3: add notebook on mermaid (2018-03-06)
2: fix c3, morris, treant (2018-03-06)
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 Distributions
Built Distribution
File details
Details for the file jyquickhelper-0.4.220-py3-none-any.whl
.
File metadata
- Download URL: jyquickhelper-0.4.220-py3-none-any.whl
- Upload date:
- Size: 1.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d26c039e6432907292daa07a6b7a16796ab7833a97f96877f9de55f82cf1a4b3 |
|
MD5 | 61e7e489b803ac71f055831c0b5a4366 |
|
BLAKE2b-256 | a07988855f989694fc65ddeb61f7c984b21e82e86686f79305bb2dbe3513970d |