Skip to main content

Helpers for Jupyter notebooks: automated menu, JSON visualizer, plug javascript

Project description

https://github.com/sdpython/jyquickhelper/blob/master/_doc/sphinxdoc/source/phdoc_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 Requirements Status 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:

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for jyquickhelper, version 0.4.220
Filename, size File type Python version Upload date Hashes
Filename, size jyquickhelper-0.4.220-py3-none-any.whl (1.5 MB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page