https://github.com/davidbrochart/ipyobservable
Run Observable code in Jupyter via Python
https://github.com/davidbrochart/ipyobservable
Last synced: 10 months ago
JSON representation
Run Observable code in Jupyter via Python
- Host: GitHub
- URL: https://github.com/davidbrochart/ipyobservable
- Owner: davidbrochart
- Created: 2022-10-23T14:42:51.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-03T14:19:26.000Z (over 3 years ago)
- Last Synced: 2025-03-31T23:33:58.005Z (11 months ago)
- Language: JavaScript
- Size: 309 KB
- Stars: 27
- Watchers: 2
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ipyobservable
Jupyter widget for Observable
## Installation
To install use pip:
$ pip install ipyobservable
For a development installation (requires [Node.js](https://nodejs.org) and [Yarn version 1](https://classic.yarnpkg.com/)),
$ git clone https://github.com/davidbrochart/ipyobservable.git
$ cd ipyobservable
$ pip install -e .
$ jupyter nbextension install --py --symlink --overwrite --sys-prefix ipyobservable
$ jupyter nbextension enable --py --sys-prefix ipyobservable
When actively developing your extension for JupyterLab, run the command:
$ jupyter labextension develop --overwrite ipyobservable
Then you need to rebuild the JS when you make a code change:
$ cd js
$ yarn run build
You then need to refresh the JupyterLab page when your javascript changes.