Skip to content

Commit 18e3d0d

Browse files
committed
Add Binder tutorial
1 parent 2bfdc31 commit 18e3d0d

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

README.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
11
# widget-periodictable
22

3-
A jupyter widget to select chemical elements from the periodic table.
3+
A jupyter widget to select chemical elements from the periodic table. This is a update version of the
4+
widget from:
5+
6+
https://github.com/aiidalab/aiidalab-widget-periodictable
7+
8+
,which support both Jupyter notebook and JupyterLab.
9+
410

511
![periodic table](./periodictable.png)
612

13+
## Usage and try it on Binder
14+
15+
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/osscar-org/widget-periodictable/master?urlpath=%2Flab%2Ftree%2Fexamples%2Fintroduction.ipynb)
16+
717
## Installation
818

919
You can install using `pip`:

postBuild

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
jupyter labextension install @jupyter-widgets/jupyterlab-manager
3+
jupyter nbextension enable --py --sys-prefix appmode
4+
jupyter serverextension enable --py --sys-prefix appmode
5+
jupyter nbextension enable --py widgetsnbextension
6+
jupyter lab build

requirements.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ipywidgets==7.5.0
2+
appmode==0.6.0
3+
IPython==7.8.0
4+
widget-periodictable

0 commit comments

Comments
 (0)