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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

jyquickhelper-0.4.220-py3-none-any.whl (1.5 MB view details)

Uploaded Python 3

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

Hashes for jyquickhelper-0.4.220-py3-none-any.whl
Algorithm Hash digest
SHA256 d26c039e6432907292daa07a6b7a16796ab7833a97f96877f9de55f82cf1a4b3
MD5 61e7e489b803ac71f055831c0b5a4366
BLAKE2b-256 a07988855f989694fc65ddeb61f7c984b21e82e86686f79305bb2dbe3513970d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page