open-index/open-npm huggingface dataset:
npm package: @osscar/appmode-jupyterlab
Description: A JupyterLab extension for Appmode.
Author: Dou Du
Latest version: 1.0.0

# appmode-jupyterlab

![Github Actions Status](https://github.com/osscar-org/appmode-jupyterlab/workflows/Build/badge.svg)

A JupyterLab extension for Appmode.



## Requirements

* JupyterLab >= 2.0

## Install

```bash
jupyter labextension install appmode-jupyterlab
```

## Contributing

### Install

The `jlpm` command is JupyterLab's pinned version of
[yarn](https://yarnpkg.com/) that is installed with JupyterLab. You may use
`yarn` or `npm` in lieu of `jlpm` below.

```bash
# Clone the repo to your local environment
# Move to appmode-jupyterlab directory

# Install dependencies
jlpm
# Build Typescript source
jlpm build
# Link your development version of the extension with JupyterLab
jupyter labextension install .
# Rebuild Typescript source after making changes
jlpm build
# Rebuild JupyterLab after making any changes
jupyter lab build
```

You can watch the source directory and run JupyterLab in watch mode to watch for changes in the extension's source and automatically rebuild the extension and application.

```bash
# Watch the source directory in another terminal tab
jlpm watch
# Run jupyterlab in watch mode in one terminal tab
jupyter lab --watch
```

Now every change will be built locally and bundled into JupyterLab. Be sure to refresh your browser page after saving file changes to reload the extension (note: you'll need to wait for webpack to finish, which can take 10s+ at times).

### Uninstall

```bash

jupyter labextension uninstall appmode-jupyterlab
```
npm package: @osscar/jupyterlab-hide-code
Description: A JupyterLab extension to run and hide code cells. 
Author: Dou Du
Latest version: 2.0.0

# jupyterlab-hide-code

![Build](https://github.com/osscar-org/jupyterlab-hide-code/workflows/Build/badge.svg)

A button in JupyterLab to run the code cells and then to hide the code cells.
This JupyterLab extension was inspired by a JupyterLab extension from Aachen
(Aix) Virtual Platform for Materials Processing:

https://github.com/AixViPMaP/jlab-hide-code


## Requirements

* JupyterLab >= 2.0


## Install

```bash
jupyter labextension install osscar@jupyterlab-hide-code
```

## Contributing

### Install

The `jlpm` command is JupyterLab's pinned version of
[yarn](https://yarnpkg.com/) that is installed with JupyterLab. You may use
`yarn` or `npm` in lieu of `jlpm` below.

```bash
# Clone the repo to your local environment
# Move to jupyterlab-hide-code directory
# Install dependencies
jlpm
# Build Typescript source
jlpm build
# Link your development version of the extension with JupyterLab
jupyter labextension link .
# Rebuild Typescript source after making changes
jlpm build
# Rebuild JupyterLab after making any changes
jupyter lab build
```

You can watch the source directory and run JupyterLab in watch mode to watch for changes in the extension's source and automatically rebuild the extension and application.

```bash
# Watch the source directory in another terminal tab
jlpm watch
# Run jupyterlab in watch mode in one terminal tab
jupyter lab --watch
```

### Uninstall

```bash
jupyter labextension uninstall jupyterlab-hide-code
```

# Acknowlegements

We acknowledge support from:
* EPFL Open Science Fund

<img src='http://www.osscar.org/wp-content/uploads/2019/03/OSSCAR-logo.png' width='240'>
npm package: @osscar/widget-periodictable
Description: A jupyter widget to select chemical elements from the periodic table.
Author: Giovanni Pizzi and Dou Du
Latest version: 0.1.0

# widget-periodictable

A jupyter widget to select chemical elements from the periodic table.

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

## Installation

You can install using `pip`:

```bash
pip install widget_periodictable
```

Or if you use jupyterlab:

```bash
pip install widget_periodictable
jupyter lab build
```

If you are using Jupyter Notebook 5.2 or earlier, you may also need to enable
the nbextension:

```bash
jupyter nbextension enable --py [--sys-prefix|--user|--system] widget_periodictable
```
# Acknowlegements

We acknowledge support from:
* EPFL Open Science Fund

<img src='./OSSCAR-logo.png' width='300'>
npm package: @osscar/widget_jsmol
Description: A Jupyter widget to use Jmol/Jsmol.
Author: Dou Du
Latest version: 0.1.0


# widget-jsmol

A Jupyter widget to use Jmol/Jsmol.

## Installation

You can install using `pip`:

```bash
pip install widget_jsmol
```

Or if you use jupyterlab:

```bash
pip install widget_jsmol
jupyter labextension install @osscar/widget_jsmol
```

If you are using Jupyter Notebook 5.2 or earlier, you may also need to enable
the nbextension:
```bash
jupyter nbextension enable --py [--sys-prefix|--user|--system] widget_jsmol
```

## Usage

```python
from widget_jsmol import WidgetJmol

w = WidgetJmol()
display(w)
```
![Image of Jmol](/images/Jmol.png)

Load new file by using the structure element:

```python
w.structure = "/H2O/POSCAR"
```

Run the Jmol/Jsmol script:

```python
w.script = "set background red"
```

<span style="color:red"> *This widget need internet to fetch Jsmol files to show
the visualizer.*</span>