Metadata-Version: 2.5
Name: jupyterlab-openbis-toolbar
Version: 4.0.0
Summary: JupyterLab openBIS toolbar: connect to openBIS and download/upload datasets from a notebook
Project-URL: Homepage, https://sissource.ethz.ch/sispub/jupyterlab-openbis-toolbar
Author-email: ID SIS | ETH Zürich <sis.helpdesk@ethz.ch>
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: Jupyter,JupyterLab,JupyterLab4,openBIS,pyBIS
Classifier: Framework :: Jupyter
Classifier: Framework :: Jupyter :: JupyterLab
Classifier: Framework :: Jupyter :: JupyterLab :: 4
Classifier: Framework :: Jupyter :: JupyterLab :: Extensions
Classifier: Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: JavaScript
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.9
Requires-Dist: click
Requires-Dist: jupyter-core
Requires-Dist: jupyter-server<3,>=2.0
Requires-Dist: numpy
Requires-Dist: pybis>=1.14.5
Requires-Dist: pyyaml
Requires-Dist: tornado
Description-Content-Type: text/markdown

# JupyterLab openBIS toolbar

Adds three buttons to the JupyterLab notebook toolbar so you can work with [openBIS](https://openbis.ch) from a notebook:

- **Connections**: connect to an openBIS instance
- **Download**: download datasets from openBIS
- **Upload**: upload files (including the notebook) to openBIS as a new dataset

**Compatible with JupyterLab 4.6.6** (and other JupyterLab 4.x versions). Requires Python 3.9 or newer.

## Install

```bash
pip install jupyterlab-openbis-toolbar
```

Then restart JupyterLab.

> If you used the older packages `jupyterlab-openbis` or `jupyter-openbis-server`, uninstall them first:
> `pip uninstall jupyterlab-openbis jupyter-openbis-server`

## Use

1. Open a notebook.
2. Click the **Connections** button, add your openBIS instance (name, URL, username, password) and click **Connect**.
3. Use the **Download** and **Upload** buttons to move datasets between openBIS and your notebook folder.

## Optional: save a connection

To have a connection ready every time JupyterLab starts, run:

```bash
jupyter-openbis-conn
```

and answer the questions.

## Uninstall

```bash
pip uninstall jupyterlab-openbis-toolbar
```

## For developers

Build from source (needs Node.js 18 or newer):

```bash
pip install "jupyterlab==4.6.6" build
python -m build
pip install dist/jupyterlab_openbis_toolbar-*.whl
```

The version is set in `package.json`. The server API is documented in [docs/API.md](docs/API.md).

## License

Apache-2.0, ID SIS | ETH Zürich
