Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jupyter/jupyter-js-notebook

JupyterLab notebook
https://github.com/jupyter/jupyter-js-notebook

Last synced: 3 months ago
JSON representation

JupyterLab notebook

Awesome Lists containing this project

README

        

Jupyter JS Notebook
===================

Notebook models and widgets for JupyterLab.

[API Docs](http://jupyter.github.io/jupyter-js-notebook/)

Package Install
---------------

**Prerequisites**
- [node](http://nodejs.org/)
- [python](https://www.continuum.io/downloads)

```bash
npm install --save jupyter-js-notebook
conda install notebook # notebook 4.2+ required
```

Source Build
------------

**Prerequisites**
- [git](http://git-scm.com/)
- [node 0.12+](http://nodejs.org/)
- [python](https://www.continuum.io/downloads)

```bash
git clone https://github.com/jupyter/jupyter-js-notebook.git
cd jupyter-js-notebook
npm install
npm run build
conda install notebook # notebook 4.2+ required
```

**Rebuild**
```bash
npm run clean
npm run build
```

Run Tests
---------

Follow the source build instructions first.

```bash
npm test
```

Build Example
-------------

Follow the source build instructions first.

```bash
npm run build:examples
```

Change to `examples/notebook` directory and run `python main.py`. Open your browser to URL printed in the output.

Build Docs
----------

Follow the source build instructions first.

```bash
npm run docs
```

Navigate to `docs/index.html`.

Supported Runtimes
------------------

The runtime versions which are currently *known to work* are listed below.
Earlier versions may also work, but come with no guarantees.

- IE 11+
- Firefox 32+
- Chrome 38+

Note: "requirejs" must be included in a global context (usually as a
`` tag) for Comm targets.

Bundle for the Browser
----------------------

Follow the package install instructions first.

Any bundler that understands how to `require()` files with `.js` and `.css`
extensions can be used with this package.

Usage Examples
--------------

**Note:** This module is fully compatible with Node/Babel/ES6/ES5. Simply
omit the type declarations when using a language other than TypeScript.