# Examples

## Hello World

```{literalinclude} ../../examples/minimal/_01_hello_world.py
:language: python
:linenos:
```

## Uploading data to the server

```{literalinclude} ../../examples/minimal/_02_uploading.py
:language: python
:linenos:
```

## Downloading from the server

```{literalinclude} ../../examples/minimal/_03_downloading.py
:language: python
:linenos:
```

## Integrating additional view types to the layout

```{literalinclude} ../../examples/minimal/_04_plotly_view.py
:language: python
:linenos:
```

## Creating custom segmentation effects

```{literalinclude} ../../examples/minimal/_05_segmentation_effect.py
:language: python
:linenos:
```

## Creating custom widgets

```{literalinclude} ../../examples/minimal/_06_model_glow_widget.py
:language: python
:linenos:
```

## Using trame-slicer without any servers

```{literalinclude} ../../examples/minimal/_07_serverless_viewer.py
:language: python
:linenos:
```
