semvec/pypi-packages huggingface dataset:
yasiu-time 0.0.2
Time decorators. Console timers.
License: MIT
Requires Python: >=3.7
Keywords: time,timeit,measure time

# Readme of `yasiu.time`

Module with useful measure time decorators.

## Installation

```shell
pip install yasiu-time
```

## Time decorators

- **measure_perf_time_decorator**

  decorator that measures time using *time.perf_counter*


- **measure_real_time_decorator**

  decorator that measures time using *time.time*

### Import:

```py
from yasiu_time.time import measure_perf_time_decorator
```

### Print buffering will impact your performance!

- Use with cauction for multiple function calls

### Use examples

```py
@measure_perf_time_decorator()
def func():
    ...


@measure_perf_time_decorator(">4.1f")
def func():
    ...


@measure_perf_time_decorator(fmt=">4.1f")
def func():
    ...
```

## Console execution timer

not here yet.

# All packages

[1. Time Package](https://pypi.org/project/yasiu-time/)

[2. Math Package](https://pypi.org/project/yasiu-math/)

[3. Image Package](https://pypi.org/project/yasiu-image/)

[4. Pyplot visualisation Package](https://pypi.org/project/yasiu-vis/)
mcd2zarr 0.1.0
Command line tool to convert MCD files to Zarr
License: MIT
Requires Python: >=3.8

# mcd2zarr

Command line tool to convert MCD files to Zarr

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install mcd2zarr:

```
pip install mcd2zarr
```

## Usage

Call `mcd2zarr` on the command line:

```
> mcd2zarr --help
Usage: mcd2zarr [OPTIONS] MCD_FILE [ZARR_FILE]

  Convert MCD files to Zarr

Options:
  --zarr-version TEXT      Zarr version
  --ome-zarr-version TEXT  OME-Zarr version
  --version                Show the version and exit.
  --help                   Show this message and exit.
```

## Zarr format

MCD file contents are extracted into the following Zarr structure:

```
myfile.zarr
├── .zattrs  (mcd_file, mcd_schema, slide_groups)
├── .zgroups
│
├── S01_SlideDescription01
├── S02_SlideDescription02
├── ...
└── Snn_SlideDescriptionNN
    ├── .zattrs  (slide_metadata, acquisition_groups, panorama_groups)
    ├── .zgroups
    │
    ├── Ann_AcquisitionDescriptionNN
    ├── A02_AcquisitionDescription02
    ├── ...
    ├── Ann_AcquisitionDescriptionNN  (in OME-Zarr format)
    │   ├── .zattrs  (acquisition_metadata, has_before_ablation_image, has_after_ablation_image)
    │   ├── .zgroups
    │   │
    │   ├── before_ablation_image  (optional, in OME-Zarr format)
    |   |   ├── .zattrs
    |   |   └── .zgroups
    │   │
    │   └── after_ablation_image (optional, in OME-Zarr format)
    |       ├── .zattrs
    |       └── .zgroups
    │
    ├── P01_PanoramaDescription01
    ├── P02_PanoramaDescription02
    ├── ...
    └── Pnn_PanoramaDescriptionNN  (in OME-Zarr format)
        ├── .zattrs  (panorama_metadata)
        └── .zgroups
```

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

## License

[MIT](https://github.com/BodenmillerGroup/mcd2zarr/blob/main/LICENSE)