semvec/pypi-packages huggingface dataset:
flake8-to-ruff 0.0.234
Convert existing Flake8 configuration to Ruff.
Requires Python: >=3.7
Keywords: automation, flake8, pycodestyle, pyflakes, pylint, clippy

# flake8-to-ruff

> [!WARNING]
>
> `flake8-to-ruff` is no longer supported. You may experience warnings or breakages when using it with versions of Ruff
> released after `v0.0.233`.

Convert existing Flake8 configuration files (`setup.cfg`, `tox.ini`, or `.flake8`) for use with
[Ruff](https://github.com/charliermarsh/ruff).

Generates a Ruff-compatible `pyproject.toml` section.

## Installation and Usage

### Installation

Available as [`flake8-to-ruff`](https://pypi.org/project/flake8-to-ruff/) on PyPI:

```shell
pip install flake8-to-ruff
```

### Usage

To run `flake8-to-ruff`:

```shell
flake8-to-ruff path/to/setup.cfg
flake8-to-ruff path/to/tox.ini
flake8-to-ruff path/to/.flake8
```

`flake8-to-ruff` will print the relevant `pyproject.toml` sections to standard output, like so:

```toml
[tool.ruff]
exclude = [
    '.svn',
    'CVS',
    '.bzr',
    '.hg',
    '.git',
    '__pycache__',
    '.tox',
    '.idea',
    '.mypy_cache',
    '.venv',
    'node_modules',
    '_state_machine.py',
    'test_fstring.py',
    'bad_coding2.py',
    'badsyntax_*.py',
]
select = [
    'A',
    'E',
    'F',
    'Q',
]
ignore = []

[tool.ruff.flake8-quotes]
inline-quotes = 'single'

[tool.ruff.pep8-naming]
ignore-names = [
    'foo',
    'bar',
]
```

### Plugins

`flake8-to-ruff` will attempt to infer any activated plugins based on the settings provided in your
configuration file.

For example, if your `.flake8` file includes a `docstring-convention` property, `flake8-to-ruff`
will enable the appropriate [`flake8-docstrings`](https://pypi.org/project/flake8-docstrings/)
checks.

Alternatively, you can manually specify plugins on the command-line:

```shell
flake8-to-ruff path/to/.flake8 --plugin flake8-builtins --plugin flake8-quotes
```

## Limitations

1. Ruff only supports a subset of the Flake configuration options. `flake8-to-ruff` will warn on and
   ignore unsupported options in the `.flake8` file (or equivalent). (Similarly, Ruff has a few
   configuration options that don't exist in Flake8.)
2. Ruff will omit any rule codes that are unimplemented or unsupported by Ruff, including rule
   codes from unsupported plugins. (See the [Ruff README](https://github.com/charliermarsh/ruff#user-content-how-does-ruff-compare-to-flake8)
   for the complete list of supported plugins.)

## License

MIT

## Contributing

Contributions are welcome and hugely appreciated. To get started, check out the
[contributing guidelines](https://github.com/charliermarsh/ruff/blob/main/CONTRIBUTING.md).
breathrate 0.1.1
Count your breath rate
Requires Python: >=3.6

# BreathRate

Using cv2 to detect your movement and count your breath rate.


# Necessary Module
```python
 'pip install opencv-python '
 'pip install numpy '
 'pip install matplotlib '
 'pip install matplotlib '
 'pip install scipy '
 'pip install datetime '
```

# How to run

```python
 'pip install breathrate'
```
```python
 'import breathrate'
 'breathrate.breathrate()'
```
rainbowkit 0.0.2
Tools to work with spectra
Requires Python: >=3.8

# RainbowKit

RainbowKit is a Python toolkit for spectral analysis. It allows you to create spectrum objects and execute various methods, such as plotting and marking lines.

## Features

- Create and manipulate spectrum objects
- Plot spectra with ease
- Mark spectral lines for analysis

## Installation

You can install RainbowKit using pip:

```bash
pip install rainbowkit
```
tracor 0.1.3
A tool for running Python scripts line by line with error handling and reporting.
Requires Python: >=3.6

# Tracor

## 🚀 Debug Python Scripts Faster

This utility script allows you to execute a Python script line by line, catch any errors that occur along the way, and provide essential debugging information with enhanced context. Additionally, it generates a well-formatted Markdown report highlighting the errors encountered during execution.

## Features

- Executes a Python script line by line.
- Catches and logs errors with detailed context and colored output for better readability.
- Generates a Markdown report summarizing the errors.
- Allows customizable colors for different parts of the error messages.
- Supports stopping execution on the first error or after a specified number of errors.
- Includes options to show full tracebacks in the Markdown report.

## Usage

### Basic Usage

You can download tracor from [PyPI](https://pypi.org/project/tracor/):
```sh
pip install tracor
```

Then, you can run it with:
```sh
tracor path/to/your_script.py [options]
```

### Usage With Flags
* `--stop-on-error`: Stop execution on the first error.
* `--output-file <file>`: Specify the output Markdown file for the error report.
* `--log-level <level>`: Set the logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL).
* `--max-errors <n>`: Limit the number of errors to report before stopping execution.
* `--show-traceback`: Include full traceback in the Markdown report.
* `--execution-color <color>`: Color for executed lines (default: GREEN).
* `--error-color <color>`: Color for error lines (default: RED).
* `--code-color <color>`: Color for code in error messages (default: YELLOW).
* `--type-color <color>`: Color for error type in error messages (default: CYAN).
* `--message-color <color>`: Color for error message in error messages (default: MAGENTA).
* `--traceback-color <color>`: Color for traceback in error messages (default: WHITE).


Example - 
```sh
tracor example_script.py --output-file custom_error_report.md --log-level DEBUG --max-errors 5 --show-traceback --execution-color GREEN --error-color RED --code-color YELLOW --type-color CYAN --message-color MAGENTA --traceback-color WHITE
```

## Output
### Terminal Output
The terminal output will show the execution of each line and any errors encountered with enhanced multi-colored highlighting for better readability.

### Markdown Report
A well-formatted Markdown report summarizing the errors will be generated. The report includes:

A summary section with the total number of errors.
A detailed table with line numbers, code snippets, error types, error messages, and tracebacks.