semvec/pypi-packages huggingface dataset:
si4pipeline-gui 0.7.0
A Streamlit-based GUI for statistical test for feature selection pipeline via selective inference

# si4pipeline-gui

[![PyPI - Version](https://img.shields.io/pypi/v/si4pipeline-gui)](https://pypi.org/project/si4pipeline-gui/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/si4pipeline-gui)](https://pypi.org/project/si4pipeline-gui/)
[![PyPI - License](https://img.shields.io/pypi/l/si4pipeline-gui)](https://pypi.org/project/si4pipeline-gui/)

This package provides the user-friendly graphical user interface (GUI) for the [`si4pipeline`](https://github.com/Takeuchi-Lab-SI-Group/si4pipeline) package, which allows users to perform a statistical test for any feature selection pipeline by selective inference.
The technical details of the statistical test methods are described in the paper "[Statistical Test for Feature Selection Pipelines by Selective Inference](https://arxiv.org/abs/2406.18902)".


## Requirements
This package has the following dependencies:
- Python (version 3.10 or higher, we use 3.12.10)
- si4pipeline (version 1.0.1 or higher)
- streamlit (version 1.45.0 or higher)
- barfi (version 1.1.0)


## Installation and Usage

You can install this package from the PyPI using pip.
```
pip install si4pipeline-gui
```

Run the application:
```
si4pipeline-gui
```

Then, you can access the GUI by opening the browser and go to the following URL:
```http://localhost:8501```

> **Note**
> When the application is launched for the first time, the application creates a directory in your home folder to store pipeline definitions:
> ```~/.si4pipeline_gui/```



## Installation from code repository
If you want to install the latest version of this package from the [code repository](https://github.com/ni-shu/si4pipeline-gui), please clone the repository and install it as follows:
1. Clone the repository:
2. Change the directory to the cloned repository:
   ```
   cd si4pipeline-gui
   ```
3. Install the required dependencies:
    ```
    pip install si4pipeline==1.0.1
    pip install streamlit==1.45.0
    pip install barfi==1.1.0
    ```
4. Run the application:
    ```
    cd si4pipeline_gui
    streamlit run app.py
    ```
    Then, you can access the demo by opening the browser and go to the following URL:
    ```http://localhost:8501```
kobalt 0.1.3
Library for download Cobalt Api
Requires Python: >=3.10
Keywords: Downloader, Cobalt

# Kobalt
Working with Cobalt API

# Methods
| Method             | Usage                                                                               | Arguments (allowed values)                                                                                  |
|--------------------|-------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|
| `CobaltApi`         | Class constructor, initializes API URL, headers, and optional token                 | `api_url: str = "https://co.itsv1eds.ru/"`, `token: str = None`                                            |
| `quality`          | Set the desired video quality                                                       | `quality: str` — only "max", "4320", "2160", "1440", "1080", "720", "480", "360", "240", "144"             |
| `filename_pattern` | Set the filename style for downloads                                                | `pattern: str` — only "classic", "pretty", "basic", "nerdy"                                                |
| `vcodec`           | Set the preferred video codec                                                       | `codec: str` — only "h264", "av1", "vp9"                                                                   |
| `aformat`          | Set the audio format                                                                | `aformat: str` — only "best", "mp3", "ogg", "wav", "opus"                                                  |
| `mode`             | Set the download mode (audio only, muted video, or auto)                            | `mode: str` — only "audio", "mute", "auto"                                                                 |
| `services`         | Retrieve the list of supported services/platforms                                   | —                                                                                                           |
| `tunnel`           | Get a direct download link for the file via the API                                 | `url: str`                                                                                                  |
| `download`         | Download the file using the API and save it locally                                 | `url: str`                                                                                                  |



# Example of use
<pre language="python">  from Kobalt import CobaltApi

  cobalt = CobaltApi()
  cobalt.filename_pattern("classic") # Not necessarily
  result = cobalt.download("https://example.com/OOOOO/")
  print(f"Downloaded! File Name: {result}")
</pre>
rigby 0.1.3
A tool to remove empty lines and clean up rigby in Python files
Requires Python: >=3.8

# rigby

<img src="https://raw.githubusercontent.com/lothartj/rigby/main/images/rigby.webp" alt="Rigby" width="200"/>

https://pypi.org/project/rigby/

A Python tool to clean up Python files by managing empty lines, with a focus on:
- Removing ALL empty lines within functions and classes
- Maintaining exactly one empty line between functions
- Maintaining exactly two empty lines between classes

## Installation

Simply run:
```bash
pip install rigby
```

That's it! All dependencies will be automatically installed.

## Usage

You can use rigby either as a command-line tool or as a library in your Python code.

### Command Line Usage

```bash
# Clean a single file
rigby run file.py

# Clean multiple files
rigby run file1.py file2.py

# Clean all Python files in a directory
rigby run .
```

### Python Usage

```python
from rigby import clean_file, clean_source

# Clean a single file
clean_file("path/to/your/file.py")

# Clean source code directly
source = '''
class MyClass:

    def foo():
        print("hello")

        print("world")


    def bar():
        print("bar")
'''
cleaned = clean_source(source)  # Will remove empty lines within functions and format properly
```

## Features

- Removes ALL empty lines within functions and classes
- Maintains exactly one empty line between functions
- Maintains exactly two empty lines between classes
- Preserves code functionality while cleaning up spacing
- Supports both single file and directory processing
- Can be used as a CLI tool or Python library

## Dependencies

All of these will be installed automatically when you install the package:
- click>=8.0.0 - For command line interface
- loguru>=0.7.0 - For logging
- pydantic>=2.0.0 - For data validation
- typing-extensions>=4.0.0 - For type hints
- rich>=13.0.0 - For beautiful terminal output

## License

MIT License

rm -rf dist/ && python3 -m build
python3 -m twine upload dist/*
pip uninstall -y rigby && pip install --no-cache-dir rigby