Skip to content

Commit c9a2c0c

Browse files
committed
Initial jupyterlite implementation
1 parent d2f2bdf commit c9a2c0c

File tree

4 files changed

+87
-1
lines changed

4 files changed

+87
-1
lines changed

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
bqplot
22
ipykernel
33
jupyter_client
4+
jupyterlite-sphinx
45
matplotlib
56
nbsphinx>=0.5
67
numpy

docs/source/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,14 @@
1717
'sphinx.ext.autosummary',
1818
'sphinx.ext.intersphinx',
1919
'sphinx.ext.mathjax',
20-
'nbsphinx',
20+
# 'nbsphinx',
21+
'jupyterlite_sphinx',
2122
'IPython.sphinxext.ipython_console_highlighting',
2223
'recommonmark',
2324
]
2425

26+
jupyterlite_config = "jupyterlite_config.json"
27+
2528
intersphinx_mapping = {
2629
'ipython': ('http://ipython.org/ipython-doc/dev/', None),
2730
'nbconvert': ('https://nbconvert.readthedocs.io/en/latest/', None),

docs/source/index.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ experience.
2323

2424
.. todo: Add screenshot
2525
26+
.. jupyterlite:: examples/Widget List.ipynb
27+
28+
`Try it fullscreen <lite/lab/?path=Widget%20List.ipynb>`_
29+
2630
Core Jupyter Widgets
2731
--------------------
2832

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"LiteBuildConfig": {
3+
"federated_extensions": [
4+
"https://conda.anaconda.org/conda-forge/noarch/bqplot-0.12.33-pyhd8ed1ab_0.tar.bz2",
5+
"https://conda.anaconda.org/conda-forge/noarch/ipycanvas-0.10.2-pyhd8ed1ab_0.tar.bz2",
6+
"https://conda.anaconda.org/conda-forge/noarch/ipycytoscape-1.3.2-pyh1d7be83_0.tar.bz2",
7+
"https://conda.anaconda.org/conda-forge/noarch/ipyleaflet-0.15.0-pyhd8ed1ab_3.tar.bz2",
8+
"https://conda.anaconda.org/conda-forge/noarch/ipympl-0.8.8-pyhd8ed1ab_0.tar.bz2",
9+
"https://conda.anaconda.org/conda-forge/noarch/ipyvue-1.7.0-pyhd8ed1ab_0.tar.bz2",
10+
"https://conda.anaconda.org/conda-forge/noarch/ipyvuetify-1.8.2-pyhd8ed1ab_0.tar.bz2",
11+
"https://conda.anaconda.org/conda-forge/noarch/jupyterlab_widgets-1.0.2-pyhd8ed1ab_0.tar.bz2",
12+
"https://conda.anaconda.org/conda-forge/noarch/plotly-5.6.0-pyhd8ed1ab_0.tar.bz2"
13+
],
14+
"ignore_sys_prefix": true,
15+
"piplite_urls": [
16+
"https://files.pythonhosted.org/packages/py2.py3/a/asttokens/asttokens-2.0.5-py2.py3-none-any.whl",
17+
"https://files.pythonhosted.org/packages/py2.py3/b/backcall/backcall-0.2.0-py2.py3-none-any.whl",
18+
"https://files.pythonhosted.org/packages/py2.py3/b/bqplot/bqplot-0.12.33-py2.py3-none-any.whl",
19+
"https://files.pythonhosted.org/packages/py2.py3/c/certifi/certifi-2021.10.8-py2.py3-none-any.whl",
20+
"https://files.pythonhosted.org/packages/py2.py3/d/defusedxml/defusedxml-0.7.1-py2.py3-none-any.whl",
21+
"https://files.pythonhosted.org/packages/py2.py3/e/executing/executing-0.8.2-py2.py3-none-any.whl",
22+
"https://files.pythonhosted.org/packages/py2.py3/f/folium/folium-0.12.1.post1-py2.py3-none-any.whl",
23+
"https://files.pythonhosted.org/packages/py2.py3/i/ipycanvas/ipycanvas-0.10.2-py2.py3-none-any.whl",
24+
"https://files.pythonhosted.org/packages/py2.py3/i/ipycytoscape/ipycytoscape-1.3.2-py2.py3-none-any.whl",
25+
"https://files.pythonhosted.org/packages/py2.py3/i/ipyleaflet/ipyleaflet-0.15.0-py2.py3-none-any.whl",
26+
"https://files.pythonhosted.org/packages/py2.py3/i/ipython-genutils/ipython_genutils-0.2.0-py2.py3-none-any.whl",
27+
"https://files.pythonhosted.org/packages/py2.py3/i/ipyvue/ipyvue-1.7.0-py2.py3-none-any.whl",
28+
"https://files.pythonhosted.org/packages/py2.py3/i/ipyvuetify/ipyvuetify-1.8.2-1-py2.py3-none-any.whl",
29+
"https://files.pythonhosted.org/packages/py2.py3/i/ipywidgets/ipywidgets-7.6.5-py2.py3-none-any.whl",
30+
"https://files.pythonhosted.org/packages/py2.py3/m/mistune/mistune-0.8.4-py2.py3-none-any.whl",
31+
"https://files.pythonhosted.org/packages/py2.py3/m/mypy-extensions/mypy_extensions-0.4.3-py2.py3-none-any.whl",
32+
"https://files.pythonhosted.org/packages/py2.py3/p/pandocfilters/pandocfilters-1.5.0-py2.py3-none-any.whl",
33+
"https://files.pythonhosted.org/packages/py2.py3/p/pexpect/pexpect-4.8.0-py2.py3-none-any.whl",
34+
"https://files.pythonhosted.org/packages/py2.py3/p/pickleshare/pickleshare-0.7.5-py2.py3-none-any.whl",
35+
"https://files.pythonhosted.org/packages/py2.py3/p/plotly/plotly-5.6.0-py2.py3-none-any.whl",
36+
"https://files.pythonhosted.org/packages/py2.py3/p/ptyprocess/ptyprocess-0.7.0-py2.py3-none-any.whl",
37+
"https://files.pythonhosted.org/packages/py2.py3/p/python-dateutil/python_dateutil-2.8.2-py2.py3-none-any.whl",
38+
"https://files.pythonhosted.org/packages/py2.py3/r/requests/requests-2.27.1-py2.py3-none-any.whl",
39+
"https://files.pythonhosted.org/packages/py2.py3/s/spectate/spectate-1.0.1-py2.py3-none-any.whl",
40+
"https://files.pythonhosted.org/packages/py2.py3/t/testpath/testpath-0.5.0-py3-none-any.whl",
41+
"https://files.pythonhosted.org/packages/py2.py3/t/traittypes/traittypes-0.2.1-py2.py3-none-any.whl",
42+
"https://files.pythonhosted.org/packages/py2.py3/u/urllib3/urllib3-1.26.8-py2.py3-none-any.whl",
43+
"https://files.pythonhosted.org/packages/py2.py3/w/wcwidth/wcwidth-0.2.5-py2.py3-none-any.whl",
44+
"https://files.pythonhosted.org/packages/py3/J/Jinja2/Jinja2-3.0.3-py3-none-any.whl",
45+
"https://files.pythonhosted.org/packages/py3/P/Pygments/Pygments-2.11.2-py3-none-any.whl",
46+
"https://files.pythonhosted.org/packages/py3/S/Send2Trash/Send2Trash-1.8.0-py3-none-any.whl",
47+
"https://files.pythonhosted.org/packages/py3/a/altair/altair-4.2.0-py3-none-any.whl",
48+
"https://files.pythonhosted.org/packages/py3/b/branca/branca-0.4.2-py3-none-any.whl",
49+
"https://files.pythonhosted.org/packages/py3/c/charset-normalizer/charset_normalizer-2.0.12-py3-none-any.whl",
50+
"https://files.pythonhosted.org/packages/py3/c/click/click-8.0.4-py3-none-any.whl",
51+
"https://files.pythonhosted.org/packages/py3/e/entrypoints/entrypoints-0.4-py3-none-any.whl",
52+
"https://files.pythonhosted.org/packages/py3/i/idna/idna-3.3-py3-none-any.whl",
53+
"https://files.pythonhosted.org/packages/py3/i/ipython/ipython-8.0.1-py3-none-any.whl",
54+
"https://files.pythonhosted.org/packages/py3/j/jsonschema/jsonschema-4.4.0-py3-none-any.whl",
55+
"https://files.pythonhosted.org/packages/py3/j/jupyter-client/jupyter_client-7.1.2-py3-none-any.whl",
56+
"https://files.pythonhosted.org/packages/py3/j/jupyter-core/jupyter_core-4.9.2-py3-none-any.whl",
57+
"https://files.pythonhosted.org/packages/py3/j/jupyterlab-widgets/jupyterlab_widgets-1.0.2-py3-none-any.whl",
58+
"https://files.pythonhosted.org/packages/py3/m/matplotlib-inline/matplotlib_inline-0.1.3-py3-none-any.whl",
59+
"https://files.pythonhosted.org/packages/py3/n/nbclient/nbclient-0.5.11-py3-none-any.whl",
60+
"https://files.pythonhosted.org/packages/py3/n/nbconvert/nbconvert-6.4.2-py3-none-any.whl",
61+
"https://files.pythonhosted.org/packages/py3/n/nbformat/nbformat-5.1.3-py3-none-any.whl",
62+
"https://files.pythonhosted.org/packages/py3/n/nest-asyncio/nest_asyncio-1.5.4-py3-none-any.whl",
63+
"https://files.pythonhosted.org/packages/py3/n/notebook/notebook-6.4.8-py3-none-any.whl",
64+
"https://files.pythonhosted.org/packages/py3/p/platformdirs/platformdirs-2.5.1-py3-none-any.whl",
65+
"https://files.pythonhosted.org/packages/py3/p/prometheus-client/prometheus_client-0.13.1-py3-none-any.whl",
66+
"https://files.pythonhosted.org/packages/py3/p/prompt-toolkit/prompt_toolkit-3.0.28-py3-none-any.whl",
67+
"https://files.pythonhosted.org/packages/py3/p/pure-eval/pure_eval-0.2.2-py3-none-any.whl",
68+
"https://files.pythonhosted.org/packages/py3/s/stack-data/stack_data-0.2.0-py3-none-any.whl",
69+
"https://files.pythonhosted.org/packages/py3/t/tenacity/tenacity-8.0.1-py3-none-any.whl",
70+
"https://files.pythonhosted.org/packages/py3/t/terminado/terminado-0.13.1-py3-none-any.whl",
71+
"https://files.pythonhosted.org/packages/py3/t/tomli/tomli-2.0.1-py3-none-any.whl",
72+
"https://files.pythonhosted.org/packages/py3/t/traitlets/traitlets-5.1.1-py3-none-any.whl",
73+
"https://files.pythonhosted.org/packages/py3/t/typing_extensions/typing_extensions-4.1.1-py3-none-any.whl",
74+
"https://files.pythonhosted.org/packages/py3/v/vega-datasets/vega_datasets-0.9.0-py3-none-any.whl",
75+
"https://files.pythonhosted.org/packages/py3/x/xyzservices/xyzservices-2022.2.0-py3-none-any.whl"
76+
]
77+
}
78+
}

0 commit comments

Comments
 (0)