Metadata-Version: 2.4
Name: botconduct-middleware
Version: 1.0.0
Summary: BotConduct Middleware — Publish contracts. Verify declarations. File complaints.
Home-page: https://botconduct.org
Author: BotConduct
Author-email: hello@botconduct.org
License: Apache-2.0
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.20
Requires-Dist: cryptography>=3.0
Requires-Dist: flask>=2.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# BotConduct Middleware

Publish contracts. Verify declarations. File complaints. Two lines to install.

```python
from botconduct_middleware import BCSMiddleware
app = BCSMiddleware(app, template="government-api")
```

- **Docs**: [botconduct.org/platform](https://botconduct.org/platform/)
- **Registry**: [botconduct.org/registry](https://botconduct.org/registry/)

## Install

```bash
pip install botconduct-middleware
```

## Templates

- `government-api` — Public API with declared-purpose gating
- `ecommerce` — Catalog open, checkout restricted
- `fintech` — Everything requires declaration
- `publisher` — Content open, bulk access restricted
- `open-api` — Generous limits, higher with declaration

## License

Apache 2.0
