Skip to main content

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.

Metadata

Release files for brehon 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for brehon 1.0.0
File Size Uploaded
brehon-1.0.0.tar.gz 5.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for brehon 1.0.0
File Interpreter ABI Platform
brehon-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.8 kB

Release files / brehon-1.0.0.tar.gz

Download URL brehon-1.0.0.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4cc2a5f5161a6affc6b012f8d56bdaf5e5947d0e7b9e3c6d4284f9a1f09cb22f
BLAKE2b-256 checksum
How to use checksums
de88099d3b63a2a5cf3eb6810da7536c404daa4ca57288793163b4b844b146c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / brehon-1.0.0-py3-none-any.whl

Download URL brehon-1.0.0-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
34d6b192521a7e63f6c9b09447c7c053b35e6c1c63bf4c2f4c5cc8443e117d8e
BLAKE2b-256 checksum
How to use checksums
043ae1f35c1b2a83cd934fd6a153692d3ccb85594db62c1794592a9d47304fcd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page