semvec/pypi-packages huggingface dataset:
slidebook-python 0.0.3rc0
Open slidebook .sldy files in Python
License: MIT
Requires Python: >=3.9

**Work in progress**
# slidebook-python
Open slidebook .sldy files in Python

### To install
**`slidebook-python` requires Python >= 3.9**
```bash
pip install slidebook-python
```

### To use
```python
from sld import SlideBook
sld = SlideBook("/path/to/file.sldy")

# How many acquisitions
print(sld.number_acquisitions)
# 4

# How many channels in first acquisition
print(sld.images[0].num_channels)

# Get data from channel 0 of the second acquisition
data = sld.images[1].data["ch_0"]
```

### To visualise in napari
**N.B. napari plugin is in development**
```python
import napari
import numpy as np
from sld import SlideBook
sld = SlideBook("/path/to/file.sldy")
viewer = napari.Viewer()
viewer.add_image((np.squeeze(sld.images[0].data["ch_0"])), name="Channel 0")
viewer.add_image((np.squeeze(sld.images[0].data["ch_1"])), name="Channel 1")
napari.run()
```


By default, `Slidebook` will not load image data into memory. To force this, use `mmap_mode=None`:
```python
sld = SlideBook("/path/to/file.sldy", mmap_mode=None)
```
pytest-pretty-terminal 1.1.0
pytest plugin for generating prettier terminal output
License: MIT
Requires Python: >=3.8
Keywords: python pytest adaptavist kanoah tm4j jira test testmanagement report

# pytest-pretty-terminal

This [pytest](http://pytest.org) plugin makes the terminal output prettier and more verbose. Beside a bit formatting you will see the doc string and the parametrization of a test case printed to the terminal. Live logging is enabled by default.

## System requirements

Defining the system requirements with exact versions typically is difficult. But there is a tested environment:

* Linux
* Python 3.8.12
* pip 21.2.4
* pytest 5.2.0

Other versions and even other operating systems might work. Feel free to tell us about your experience.

## Versioning

In our versioning we follow [Semantic Versioning](https://semver.org/).

## Installing for usage

The Python Package Index takes care for you. Just use pip.

```bash
python -m pip install pytest-pretty-terminal
```

## Installing for development

First, you need to get the sources.

```bash
git clone git@github.com:devolo/pytest-pretty-terminal.git
```

Then you need to take care of the requirements.

```bash
cd pytest-pretty-terminal
python setup.py install
```

## Usage

To activate the pretty output, you have to start pytest with the pretty option. Otherwise, the plugin is skipped.

```bash
pytest --pretty
```

## Compatibility with other pytest plugins

This plugin should not interfere with other plugins. In case of using [pytest-xdist](https://github.com/pytest-dev/pytest-xdist), you will lose live logging, as xdist uses stdin/stdout for communicating with its workers.