Python SDK for the Brehon Privacy API — access 32+ privacy and AI governance laws
Project description
brehon
Python SDK for the Brehon Privacy API — structured access to 32+ privacy and AI governance laws across 16+ jurisdictions.
Install
pip install brehon
Quick start
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
brehon-1.0.0.tar.gz
(5.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file brehon-1.0.0.tar.gz.
File metadata
- Download URL: brehon-1.0.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4cc2a5f5161a6affc6b012f8d56bdaf5e5947d0e7b9e3c6d4284f9a1f09cb22f
|
|
| MD5 |
2592f12ba89335389d4cd9d2245e816b
|
|
| BLAKE2b-256 |
de88099d3b63a2a5cf3eb6810da7536c404daa4ca57288793163b4b844b146c3
|
File details
Details for the file brehon-1.0.0-py3-none-any.whl.
File metadata
- Download URL: brehon-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34d6b192521a7e63f6c9b09447c7c053b35e6c1c63bf4c2f4c5cc8443e117d8e
|
|
| MD5 |
cc1c640bf2ee93ba80ee7fcd6447f505
|
|
| BLAKE2b-256 |
043ae1f35c1b2a83cd934fd6a153692d3ccb85594db62c1794592a9d47304fcd
|