Metadata-Version: 2.4
Name: eep-compliance-cli
Version: 0.1.0
Summary: EEP conformance test runner for any platform
License-Expression: Apache-2.0
Project-URL: Homepage, https://eep.dev
Project-URL: Source, https://github.com/eep-dev/EEP
Project-URL: Issues, https://github.com/eep-dev/EEP/issues
Project-URL: Documentation, https://github.com/eep-dev/EEP#readme
Project-URL: Changelog, https://github.com/eep-dev/EEP/blob/main/CHANGELOG.md
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: httpx>=0.27
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == "dev"
Dynamic: license-file

# eep-compliance-cli (Python)

Python port of [`@eep-dev/compliance-cli`](../../packages/@eep-dev/compliance-cli) — Run EEP conformance tests against any platform.

## Install

```bash
pip install -e .
```

## Usage

```bash
# Test your platform's conformance
eep-compliance --target https://api.yourplatform.com --api-key sk_... --entity u/acme-corp

# Core conformance only
eep-compliance --target https://api.yourplatform.com --api-key sk_... --entity u/test --level core

# Or run directly
python -m eep_compliance_cli --target https://localhost:3000 --api-key sk_... --entity u/test
```

## Options

| Option | Short | Description |
|--------|-------|-------------|
| `--target` | `-t` | Platform base URL (required) |
| `--api-key` | `-k` | API key for authenticated requests |
| `--entity` | `-e` | Entity DID or username to subscribe to |
| `--level` | `-l` | Conformance level: `core`, `standard`, `full` (default: `standard`) |
| `--port` | `-p` | Local port for webhook receiver (default: `9876`) |

## Conformance levels

| Level | Tests |
|-------|-------|
| 🥉 Core | Reachability, discovery, subscription, webhook delivery, HMAC, CloudEvents |
| 🥈 Standard | Core + SSE endpoint, rate limit headers |
| 🏆 Full | Standard + (future tests) |

## Tests

```bash
pip install -e ".[dev]"
pytest
```

## License

Apache-2.0
