Skip to main content

Generate cryptographically-verifiable EU AI Act compliance certificates with blockchain anchoring

Project description

EU Compliance Certificate Generator

Generate verifiable EU AI Act compliance certificates with cryptographic proof—no fake paperwork, no expensive SaaS subscriptions.

What is this?

A lightweight CLI tool that produces official-looking PDF compliance certificates for AI systems, backed by blockchain-anchored cryptographic attestations. Built for solo developers and small teams (1-10 people) who need legitimate compliance documentation before the September 2026 EU AI Act Annex III deadline but can't justify $99/month SaaS costs. Each certificate includes SHA-256 hashing and optional blockchain anchoring for verifiable, tamper-proof proof of compliance assessment.

Features

  • PDF Certificate Generation – Creates professional, branded EU AI Act compliance certificates
  • Cryptographic Attestation – SHA-256 hashing with optional blockchain anchoring for proof of authenticity
  • Risk Classification – Automated assessment of AI systems as High/Limited/Minimal risk per Annex III
  • CLI-First Design – Simple command-line interface, no UI overhead
  • Standalone Operation – Zero SaaS dependencies; runs locally
  • Audit Trail – Timestamped, hashable compliance records for regulatory review
  • Batch Processing – Generate certificates for multiple AI systems in one operation

Quick Start

Installation

pip install eu-compliance-certificate-generator

Or clone and install locally:

git clone <repository>
cd eu-compliance-certificate-generator
pip install -e .

Basic Usage

# Generate a single compliance certificate
eu-cert generate \
  --system-name "MyAI" \
  --risk-level "limited" \
  --company "Acme Corp" \
  --output certificate.pdf

# Add blockchain anchoring
eu-cert generate \
  --system-name "MyAI" \
  --risk-level "limited" \
  --company "Acme Corp" \
  --output certificate.pdf \
  --anchor-blockchain

# View certificate hash and proof
eu-cert verify certificate.pdf

Usage Examples

Generate a high-risk AI system certificate with full audit trail:

eu-cert generate \
  --system-name "Facial Recognition System v2.1" \
  --risk-level "high" \
  --company "SecurityInc" \
  --description "Real-time face detection for access control" \
  --assessor "John Doe" \
  --output facial_recognition_cert.pdf \
  --anchor-blockchain

Batch process multiple systems:

eu-cert batch --config systems.json --output-dir ./certs

Verify certificate authenticity:

eu-cert verify facial_recognition_cert.pdf --blockchain

See example_usage.sh for additional patterns.

Tech Stack

  • Python 3.9+ – Core runtime
  • reportlab – PDF generation
  • Pydantic – Data validation and models
  • hashlib – Cryptographic hashing
  • Click – CLI framework
  • pytest – Testing

Optional blockchain support via Web3.py for Ethereum/Polygon anchoring.

Project Structure

eu_compliance_cert/
├── models.py          # Pydantic schemas for certificates and assessments
├── generator.py       # PDF generation and hashing logic
├── cli.py             # Command-line interface
└── __init__.py
tests/
├── test_generator.py  # PDF and hash verification tests
└── test_models.py     # Schema validation tests
example_usage.sh       # Common workflows
pyproject.toml         # Package metadata and dependencies

License

MIT

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

eu_compliance_certificate_generator-0.1.0.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

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

File details

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

File metadata

File hashes

Hashes for eu_compliance_certificate_generator-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e639331c1ce0c40cced15b380c4c665bc1cd9a720435ffe5f0d8e089253f9888
MD5 a6d2f1d7eff98833ecf2ad593f0529dc
BLAKE2b-256 0558aab48e70a9e66e5a453aa0ab9b4c3750bc4345ff4da145285b9f83a07684

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eu_compliance_certificate_generator-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a8c05a6c16166c69bc6d4d7af76c1fb4990583b3e86c15bc59fdf18920ffbe5c
MD5 0785d87f7499b56b2c2ed9bba5e40ad4
BLAKE2b-256 5e10db47b7c7ed299dec3f627cea3e84e682d9db5eb974ef05f3be23a008175e

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