https://github.com/sdpython/jyquickhelper/blob/master/_doc/sphinxdoc/source/_static/project_ico.png?raw=true

jyquickhelper: javascript extensions for notebooks

Build status Build Status Windows https://circleci.com/gh/sdpython/jyquickhelper/tree/master.svg?style=svg https://badge.fury.io/py/jyquickhelper.svg MIT License https://codecov.io/github/sdpython/jyquickhelper/coverage.svg?branch=master GitHub Issues Notebook Coverage Downloads Forks Stars Binder size

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: