Metadata-Version: 2.4
Name: brehon
Version: 1.0.0
Summary: Python SDK for the Brehon Privacy API — access 32+ privacy and AI governance laws
Project-URL: Homepage, https://brehon.dev
Project-URL: Repository, https://github.com/brehon-dev/privacy-api
Project-URL: Documentation, https://brehon.dev/docs
Author-email: Brehon Privacy <hello@brehon.dev>
License-Expression: MIT
License-File: LICENSE
Keywords: ai,ccpa,compliance,gdpr,governance,privacy
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.10
Requires-Dist: httpx>=0.25.0
Description-Content-Type: text/markdown

# brehon

Python SDK for the [Brehon Privacy API](https://brehon.dev) — structured access to 32+ privacy and AI governance laws across 16+ jurisdictions.

## Install

```bash
pip install brehon
```

## Quick start

```python
import asyncio
from brehon import BrehonClient

async def main():
    async with BrehonClient("YOUR_API_KEY") as client:
        # Get a specific law
        gdpr = await client.laws.get("gdpr")

        # List all laws in a jurisdiction
        eu_laws = await client.laws.list(jurisdiction="EU")

        # Search across all laws
        results = await client.search("breach notification")

        # Compare laws side by side
        comparison = await client.laws.compare(["gdpr", "ccpa"])

        # Find applicable laws for jurisdictions
        applicable = await client.search.applicable(["India", "EU"])

asyncio.run(main())
```

## Documentation

Full docs at [brehon.dev/docs](https://brehon.dev/docs).
