semvec/pypi-packages huggingface dataset:
typo-detector 0.1.0
A package for detecting typos in text data
Requires Python: >=3.8

# typo-detection-api

This project provides a small API for typo detection based on keyword processing. It is designed to be easily integrated into other projects.

## Features

- Detects typos in a list of keywords.
- Validates words against a dictionary.
- Provides an API endpoint for typo detection.

## Installation

To install the required dependencies, run:

```
pip install -r requirements.txt
```

## Usage

1. Start the Flask server:

```
python -m src.api.routes
```

2. Use the API endpoint to detect typos:

```
POST /api/detect_typos
```

### Request Body

```json
{
    "keywords": ["your", "list", "of", "keywords"]
}
```

### Response

```json
{
    "typos": [
        {
            "typo": "wrng",
            "suggestions": ["wrong", "ring"]
        }
    ]
}
```

## Running Tests

To run the tests, use:

```
pytest
```

## Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.

## License

This project is licensed under the MIT License.
auditflow 1.0.0
A Python package to generate visual data quality audits.
Requires Python: >=3.6

# auditflow

`auditflow` is a lightweight, plug-and-play Python package that generates automated visual data quality audits for any tabular dataset (CSV or DataFrame). It's built with simplicity and real-world analytics workflows in mind.

## What It Does

- Detects missing values and visualizes them
- Highlights skewed numeric distributions
- Flags duplicates, constant columns, and high-cardinality categoricals
- Calculates memory usage and correlation heatmaps
- Auto-generates a clean HTML report with embedded visuals (no folders required)
- Writes a human-readable summary as a text report

Perfect for:
- Quick data onboarding
- Exploratory Data Analysis (EDA)
- Data validation in consulting and internal audit workflows

## Installation

```bash
pip install auditflow
```

## Usage

```python
from auditflow import run_audit
run_audit("your_dataset.csv")
```

Outputs:
- `audit_report.html`: portable report with embedded visuals
- `audit_summary.txt`: quick-glance data health insights
md2html-math 0.1.5
A markdown to HTML converter with LaTeX math support and beautiful styling
Requires Python: >=3.11

# Markdown to HTML Converter with Math Support

A Python package that converts markdown text to HTML with LaTeX math support and beautiful styling.

## Installation

```bash
pip install md2html-math
```

## Usage

### Command Line Interface

```bash
# Convert a markdown file to HTML (output will be in the same directory)
md2html-math /path/to/input.md

# Convert a markdown file to HTML with custom output path
md2html-math /path/to/input.md --output /path/to/output.html
# or
md2html-math /path/to/input.md -o /path/to/output.html
```

### Python API

#### Converting Markdown Strings

```python
from md2html.converter import markdown_to_html

# Basic usage
markdown_text = "# Hello, World!"
html = markdown_to_html(markdown_text)
print(html)
# Output: <h1>Hello, World!</h1>

# With LaTeX math
markdown_text = """
# Math Example

Inline math: $E = mc^2$

Block math:
$$
\\frac{n!}{k!(n-k)!} = \\binom{n}{k}
$$
"""

html = markdown_to_html(markdown_text)
print(html)
```

#### Converting Markdown Files

```python
from md2html.converter import markdown_file_to_html

# Convert markdown file to HTML string
html = markdown_file_to_html("input.md")
print(html)

# Convert markdown file and save to HTML file
markdown_file_to_html("input.md", "output.html")  # Will create output.html
markdown_file_to_html("input.md", "output")       # Will create output.html
```

## Features

- Beautiful, responsive HTML output with modern styling
- LaTeX math support:
  - Inline math using `$...$` or `\(...\)`
  - Block math using `$$...$$` or `\[...\]`
  - Powered by KaTeX for fast rendering
- Markdown features:
  - Headers (#, ##, ###, etc.)
  - Bold and italic text
  - Lists (ordered and unordered)
  - Links and images
  - Code blocks with syntax highlighting
  - Blockquotes
  - Horizontal rules
  - Tables
  - Footnotes
  - Table of contents
  - And more!
- File conversion support:
  - Convert markdown files to HTML strings
  - Save HTML output to files
  - Automatic .html extension handling
  - UTF-8 encoding support
- Command line interface:
  - Convert files from the command line
  - Automatic output file generation
  - Custom output path support
  - Error handling and user feedback

## Math Examples

### Inline Math
```markdown
The quadratic formula is $x = \\frac{-b \\pm \\sqrt{b^2 - 4ac}}{2a}$.
```

### Block Math
```markdown
The integral of a function is:
$$
\\int_{a}^{b} f(x) \\, dx = F(b) - F(a)
$$
```

## Development

To set up the development environment:

```bash
# Clone the repository
git clone https://github.com/marcoallanda01/md2html-math.git
cd md2html-math

# Create and activate a virtual environment
conda create -n md2html-math python=3.11
conda activate md2html-math

# Install development dependencies
pip install -e ".[dev]"

# Run tests
pytest
```

## License

MIT License
decorator-logger 1.0.3
Simple decorator-logger
Requires Python: >=3.6
Keywords: aop logger decorator

# Decorator Logging Library #

## What is this? ##
The module allows you to wrap function with a logger (based on loguru) and specify some additional options (log level, log timing)

----------

### Using ###



    class Roles:
        def __init__(self, file_name: str):
            self.file_name = file_name
            self.roles = self.read()
    
        @SyncLoggable()
        def add_role(self, user_id: int, role: Role) -> None:
            user_roles = self.roles.get(user_id, [])
            user_roles.append(role)
            self.roles[user_id] = user_roles
            self.save()
    
        def save(self) -> None:
            ...
    
        def read(self) -> dict[int, list[Role]]:
            ...

example output for add_role(123, Role.ADMIN):

INFO: Executing add_role with args: \['123', 'Role.ADMIN'\]}

INFO: Success add_role returned: None

----------


## Developer ##
GitHub: [link](https://github.com/ArgentumX/)