Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

brehon-1.0.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

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

Hashes for brehon-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4cc2a5f5161a6affc6b012f8d56bdaf5e5947d0e7b9e3c6d4284f9a1f09cb22f
MD5 2592f12ba89335389d4cd9d2245e816b
BLAKE2b-256 de88099d3b63a2a5cf3eb6810da7536c404daa4ca57288793163b4b844b146c3

See more details on using hashes here.

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

Hashes for brehon-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 34d6b192521a7e63f6c9b09447c7c053b35e6c1c63bf4c2f4c5cc8443e117d8e
MD5 cc1c640bf2ee93ba80ee7fcd6447f505
BLAKE2b-256 043ae1f35c1b2a83cd934fd6a153692d3ccb85594db62c1794592a9d47304fcd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page