semvec/pypi-packages huggingface dataset:
mermaidmd2pdf 0.1.0
Convert Markdown files with Mermaid diagrams to PDF
Requires Python: >=3.8
Keywords: converter, diagrams, documentation, markdown, mermaid, pdf

# MermaidMD2PDF

A powerful command-line tool that converts Markdown documents containing Mermaid diagrams into beautifully formatted PDFs.

## Features

- Convert Markdown files with Mermaid diagrams to PDF
- Support for multiple Mermaid diagram types
- High-quality PDF output with embedded diagrams
- Command-line interface for easy integration
- Comprehensive error handling and validation

## Prerequisites

- Python 3.8 or higher
- Pandoc (for PDF generation)
- Mermaid CLI (for diagram rendering)

### Installing Prerequisites

#### macOS
```bash
# Install Pandoc
brew install pandoc

# Install Mermaid CLI
npm install -g @mermaid-js/mermaid-cli
```

#### Linux
```bash
# Install Pandoc
sudo apt-get install pandoc

# Install Mermaid CLI
npm install -g @mermaid-js/mermaid-cli
```

## Installation

1. Clone the repository:
```bash
git clone https://github.com/yourusername/MermaidMD2PDF.git
cd MermaidMD2PDF
```

2. Create and activate a virtual environment:
```bash
python -m venv .venv
source .venv/bin/activate  # On Linux/macOS
# or
.venv\Scripts\activate  # On Windows
```

3. Install the package:
```bash
pip install -e .
```

## Usage

Basic usage:
```bash
mermaidmd2pdf input.md output.pdf
```

### Command Line Options

- `--title TEXT`: Set the PDF title
- `--help`: Show help message and exit
- `--version`: Show version and exit

### Example Markdown File

```markdown
# My Document

This is a sample document with a Mermaid diagram.

```mermaid
graph TD
    A[Start] --> B{Is it?}
    B -- Yes --> C[OK]
    B -- No --> D[Cancel]
```

## Documentation

- [User Guide](docs/user-guide/README.md)
- [API Reference](docs/api-reference/README.md)
- [Examples](docs/examples/README.md)

## Development

### Running Tests

```bash
pytest
```

### Code Style

This project uses:
- Black for code formatting
- isort for import sorting
- mypy for type checking
- ruff for linting

Run all checks:
```bash
pre-commit run --all-files
```

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
black-stripe-detector 0.1.2
A Python package to detect black stripes in images that may indicate rendering errors.
Requires Python: >=3.7

# Black Stripe Detector

A Python package to detect black stripes in images that may indicate rendering errors.

## Usage

```python
from black_stripe_detector import analyze_frames

# Analyze a directory of images
corrupted_frames = analyze_frames(
    output_directory="./images", # Relative path
    # output_directory=r"C:\my_project\images", # Absolute path
    threshold=10,
    stripe_threshold=0.99,
    min_stripe_height=1,
    debug=True
)

# Print results
if corrupted_frames:
    print("\nThe following defective frames were detected:")
    for frame in corrupted_frames:
        print(f"- Name: {frame['name']}, Path: {frame['path']}")
else:
    print("\nNo defective frames were detected.")
```

### Output

```
The following defective frames were detected:
- Name: 0.png, Path: ./images\0.png
- Name: 1.png, Path: ./images\1.png
- Name: 2.png, Path: ./images\2.png
- Name: 3.png, Path: ./images\3.png
```
gdpython 0.1.1
GDPython ist eine QT6/Python basierte Game Engine für die einfache Erstellung von 2D-Spielen.
Requires Python: >=3.6

# GDPython

GDPython ist eine QT6/Python-basierte Game-Engine für die einfache Erstellung von 2D-Spielen.  
Sie unterstützt Sprites, Animationen, Szenenhandling, Multi-Layer, Textdarstellung,  
Kollisionserkennung sowie Soundeffekte und Musik.

Für mehr Infos über die nutzung von GDPython siehe ```doku.md```

## Installation

```sh
pip install gdpython
```

## Erstellung eines neuen Spiels

Um ein neues Spiel zu erstellen reicht es die vorlage von ```void_game_file.py``` zu nutzen. Der Aufbau einer Spieldatei sollte immer so aussehen:

```python

import gdpython
import random
from gdpython import *

class MyGame(Game):

    scene : Scene
    game_window : RenderManager

    def start(self): #Einmaliger aufruf am Anfang des Spiels
        pass

    def update(self): #Aufruf pro Frame
        pass

        
MyGame()
```