GitHub Action ce4b7b33bd [ci skip] New version há 3 anos atrás
..
src dbdefed9db Add linter rule for sorting import (#10344) há 3 anos atrás
templates dc44a1c3c4 Use favicons provided by jupyter_server há 4 anos atrás
README.md 049fc2ab07 Lint fixes há 6 anos atrás
main.py cde0521528 [3.3.x] Run black (#12282) há 3 anos atrás
package.json ce4b7b33bd [ci skip] New version há 3 anos atrás
tsconfig.json 585ab42369 typing fixes for typedoc build há 4 anos atrás
webpack.config.js de7d3f5150 Propagate webpack config defineplugin changes to other wepback configs. há 4 anos atrás

README.md

Jupyter JS Services Browser Example

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

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 installed as npm install and run as python main.py.

Notes:

  • The example is written in TypeScript using ES6 syntax.
  • The TypeScript compiler config is in tsconfig.json.
  • A typings file and a polyfill are required for ES6 promises.
  • The example requires version 4.1+ of the Jupyter Notebook.
  • This example requires its dependencies from the root directory of the repo, but typically the requirements would be directly in package.json