Metadata-Version: 2.4
Name: httrace
Version: 0.1.0
Summary: Capture production HTTP traffic and auto-generate integration tests.
Project-URL: Homepage, https://httrace.com
Project-URL: Repository, https://github.com/httrace/httrace-python
License: MIT
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Testing
Requires-Python: >=3.11
Requires-Dist: httpx>=0.27
Requires-Dist: pyyaml>=6
Requires-Dist: rich>=13
Requires-Dist: typer>=0.12
Provides-Extra: frameworks
Requires-Dist: django; extra == 'frameworks'
Requires-Dist: fastapi; extra == 'frameworks'
Requires-Dist: flask; extra == 'frameworks'
Requires-Dist: starlette; extra == 'frameworks'
Description-Content-Type: text/markdown

# httrace

Capture real production HTTP traffic and automatically generate integration tests.

## Install

```bash
pip install httrace
```

## Quick start

```python
from httrace import HttraceCaptureMiddleware

app.add_middleware(
    HttraceCaptureMiddleware,
    api_key="ht_...",
    service="my-api",
)
```

Then generate tests:

```bash
httrace generate
```

Full documentation: [httrace.com/docs](https://httrace.com/docs)
