Metadata-Version: 2.4
Name: python-traefik
Version: 0.2.0
Summary: A Traefik-like reverse proxy implemented in Python (asyncio + Starlette).
Author: Kubenew
License-Expression: MIT
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: starlette>=0.37.2
Requires-Dist: uvicorn>=0.30.0
Requires-Dist: httpx>=0.27.0
Requires-Dist: pyyaml>=6.0.1
Requires-Dist: prometheus-client>=0.20.0
Requires-Dist: typer>=0.12.3
Requires-Dist: cryptography>=41.0.0
Dynamic: license-file

# python-traefik

A minimal Traefik-like reverse proxy implemented in Python.

## Features (MVP)
- Entrypoints (HTTP listeners)
- Routers with rule parsing (Host, PathPrefix, Path)
- Services with load-balanced servers (round-robin)
- Reverse proxy forwarding (async httpx)
- Optional health checks
- Prometheus metrics endpoint

## Quickstart

### Install deps (dev)
```bash
pip install -e .
```

### Run
```bash
python-traefik run --config examples/config.yml
```

### Test routing
```bash
curl -H "Host: example.com" http://localhost:8000/
```

## Config Example
See `examples/config.yml`.
