Skip to main content

GDPR/PII compliance module for the ourochronos ecosystem

Reason this release was yanked:

Not ready for use

Project description

our-compliance

GDPR/PII compliance module for the ourochronos ecosystem.

Features

  • Data Deletion: GDPR Article 17 (Right to Erasure) compliant deletion with cryptographic erasure
  • PII Scanning: Detect and block PII (emails, phone numbers, SSNs, credit cards, etc.)
  • Tombstone Records: Federation-aware deletion propagation with audit trails

Installation

pip install our-compliance

Usage

from our_compliance import delete_user_data, scan_for_pii, DeletionReason

# Scan text for PII
matches = scan_for_pii("Contact me at user@example.com")

# Delete user data with compliance audit trail
await delete_user_data(user_id, reason=DeletionReason.USER_REQUEST)

Development

pip install -e ".[dev]"
ruff check src/ tests/
mypy src/
pytest tests/ -m "not integration"

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

our_compliance-0.1.0.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

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

our_compliance-0.1.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file our_compliance-0.1.0.tar.gz.

File metadata

  • Download URL: our_compliance-0.1.0.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for our_compliance-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6293a0a480098da732ec3f931619283e8161679e127b115feaca7a06724259ad
MD5 2db7675be31499972159808d424f3c88
BLAKE2b-256 a838a0840c1526c297c896c6aee04458f71edcae5be3a5807d054a5aa18e2b47

See more details on using hashes here.

File details

Details for the file our_compliance-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: our_compliance-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for our_compliance-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 05586f78583a9794f9617e353d122d39ffc6bbc72cce119cc9d6efdf4f0153d8
MD5 723d5b97de756be40ef7b81428d45131
BLAKE2b-256 621c109b22ff2d19e54a25f60957873021ecd71b655353a1b135f8bd80686e62

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