Steven Silvester e604cfe88b Lint files 4 år sedan
..
README.md 049fc2ab07 Lint fixes 6 år sedan
index.html 11828db625 Correct escaping in other templates we distribute. 5 år sedan
index.js e604cfe88b Lint files 4 år sedan
main.py 0a074490e3 Clean up base_url handling 5 år sedan

README.md

Jupyter JS Services Browser Example (ES5 / require edition)

This example demonstrates using Jupyter JS Services from the browser using requirejs. The python script main.py is used to start a Jupyter Notebook Server and serve the sample application.

The base url of the notebook server is to the HTML template as part of a JSON script tag. The script starts a python notebook session and interacts with it, printing messages to the browser console.

The example can be run with python main.py.

Notes:

  • The example is written in JavaScript using ES5 syntax.
  • The example requires version 4.1+ of the Jupyter Notebook.
  • javascript libraries, such as requirejs, jquery, and jupyter-js-services are loaded from CDNs.