semvec/pypi-packages huggingface dataset:
AIVISSelectTissue 1.0.0
Select Tissue and Extract Patches
Requires Python: >=3.8

## Tissue Selection & Patches Extraction Module
### functions   
#### get_info
- get_wsi_info    
    - input : WSI full path.   
    - output : WSI Meta Info dictionary.   
- get_contour_coordi_level_wise   
    - input : foreground_contours, hole_contours, wsi_info    
    - output : Tissue and Hole Contour Coordinate Information dictionary by level dimensions.    
   
#### select_tissue
- select_all_tissues & select_one_tissues
    - input : slide, level, factor, is_isyntax(True, or False), patch_size, contour_img_save(True or False), contour_img_save_dir, wsi_name
    - output : Tissue and Hole Contour coordinates list.   
   
#### save_coordinates
- save_patches
    - input : tissue_contour, hole_contour, contour_coord_pkl_save_dir, wsi_name   
- save_patches_coordi
    - input : slide, is_isyntax, tissue_contour, hole_contour, patch_size, step_size, patch_coord_h5_save_dir, wsi_name   
save_stitch_image
    - input : slide, level, factor, is_isyntax, patch_coord_h5_save_dir, stitch_img_save_dir, wsi_name   
     
#### save_patches
- save_patches
    - input : slide, is_isyntax, patch_size, patch_coord_h5_save_dir, patches_save_dir, wsi_name
streamlit-antd-components 0.3.2
streamlit customer components of Antd Design and Mantine
Requires Python: >=3.8

# Streamlit-Antd-Components

[![Open in Streamlit][share_badge]][share_link] 
[![GitHub][github_badge]][github_link] 
[![PyPI][pypi_badge]][pypi_link]
[![download][download_badge]][download_link]

A Streamlit custom component to implement [Antd-Design](https://ant.design/) and [Mantine](https://v6.mantine.dev/) widgets.

Check out the [Demo App][share_link] for more example.
![demo](./img/demo.jpg)


This library now provides component blow:

- `buttons` A group of buttons component.
- `divider` A divider line separates different content
- `menu` A versatile menu for navigation
- `steps` A navigation bar that guides users through the steps of a task
- `cascader` Chooses cascade items in one float layer for better user experience.
- `checkbox` A group of checkbox.
- `rate` Rate component
- `switch` Switching between two states or on-off state
- `transfer` Double column transfer choice box
- `segmented` Segmented Controls.
- `tabs` A tabs component.
- `tree` A hierarchical list structure component.
- `alert` Alert component for feedback
- `result` Used to feed back the results of a series of operational tasks
- `tag` Tag for categorizing or markup
- `pagination` A long list can be divided into several pages

## Install

```shell script
pip install streamlit-antd-components
```

## Quickstart

Create a group of buttons,use more style params.

```python
import streamlit as st
import streamlit_antd_components as sac

btn = sac.buttons(
    items=['button1', 'button2', 'button3'],
    index=0,
    format_func='title',
    align='center',
    direction='horizontal',
    radius='lg',
    return_index=False,
)
st.write(f'The selected button label is: {btn}')
```

![buttons](./img/buttons.jpg)

## Todo

- pop-up component
- ~~Interaction between components~~
- ~~Add component callback function~~
- multiple sac components


[share_badge]: https://static.streamlit.io/badges/streamlit_badge_black_white.svg

[share_link]: https://nicedouble-streamlitantdcomponentsdemo-app-middmy.streamlit.app/

[github_badge]: https://badgen.net/badge/icon/GitHub?icon=github&color=black&label

[github_link]: https://github.com/nicedouble/StreamlitAntdComponents

[pypi_badge]: https://badgen.net/pypi/v/streamlit-antd-components

[pypi_link]: https://pypi.org/project/streamlit-antd-components/

[download_badge]: https://badgen.net/pypi/dm/streamlit-antd-components

[download_link]: https://pypi.org/project/streamlit-antd-components/#files