semvec/pypi-packages huggingface dataset:
mkdocs-md-to-pdf 0.1.3
Convert Markdown files to PDF using MkDocs Material theme and Playwright
Requires Python: >=3.12
Keywords: markdown, pdf, mkdocs, converter, documentation

# mkdocs-md-to-pdf

Convert Markdown files to styled PDFs using [MkDocs Material](https://squidfunk.github.io/mkdocs-material/) theme and [Playwright](https://playwright.dev/).

## Features

- Material Design styling via MkDocs Material theme
- Syntax highlighting for code blocks
- Mermaid diagram support
- PlantUML diagram support (requires Java)
- Admonitions and callouts
- Automatic handling of linked images and files

## Installation

```bash
# Using uv
uv add mkdocs-md-to-pdf

# Using pip
pip install mkdocs-md-to-pdf
```

After installation, install the Chromium browser for Playwright:

```bash
playwright install chromium
```

### PlantUML Setup

#### macOS
1. Download PlantUML JAR from [GitHub releases](https://github.com/plantuml/plantuml/releases/latest)
2. Place JAR: `mv plantuml-mit-1.2025.8.jar ~/.local/bin/plantuml.jar`
3. Make executable: `chmod +x ~/.local/bin/plantuml.jar`
4. Add to shell profile (.bashrc/.zshrc):
```bash
export PATH="$PATH:~/.local/bin"
export PATH="/opt/homebrew/opt/openjdk/bin:$PATH"
```

#### Ubuntu/Debian
```bash
sudo apt install default-jdk plantuml
```

## Usage

### Command Line

```bash
# Output to stdout (pipe to file)
md-to-pdf document.md > output.pdf

# Output to specific file
md-to-pdf document.md -o output.pdf
```

### Python API

```python
from mkdocs_md_to_pdf import convert

# Get PDF as bytes
pdf_bytes = convert("document.md")

# Write directly to file
convert("document.md", output_file="output.pdf")
```

## Supported Markdown Features

- Standard Markdown syntax
- Fenced code blocks with syntax highlighting
- Tables
- Admonitions (`!!! note`, `!!! warning`, etc.)
- Callouts (`> [!NOTE]`, `> [!WARNING]`)
- Mermaid diagrams
- PlantUML diagrams
- Linked images (relative paths)

## License

MIT
configvault-sdk 0.1.0
Python SDK for ConfigVault API
Requires Python: >=3.10
Keywords: config, configvault, sdk, vault

# ConfigVault Python SDK

Python client for the ConfigVault configuration management API.

## Installation

```bash
pip install configvault-sdk
```

## Usage

```python
from configvault import ConfigVaultClient

client = ConfigVaultClient(
    base_url="http://localhost:5000",
    api_key="your-api-key"
)

# Get a configuration value
value = await client.get("production/database/connection")

# Check if key exists
exists = await client.exists("production/database/connection")

# List all configs in namespace
configs = await client.list("production")

# Check service health
health = await client.health()
```

## Watching for Changes

```python
from configvault import ConfigVaultClient

client = ConfigVaultClient(
    base_url="http://localhost:5000",
    api_key="your-api-key"
)

# Watch all changes
watcher = client.watch()

# Or filter by pattern
watcher = client.watch("production/*")

async for event in watcher.watch():
    print(f"Changed keys: {event.keys}")
    print(f"Timestamp: {event.timestamp}")

# Stop watching
watcher.stop()
```