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
Release files for eu-compliance-certificate-generator 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| eu_compliance_certificate_generator-0.1.0.tar.gz | 12.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| eu_compliance_certificate_generator-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.3 kB
Release files / eu_compliance_certificate_generator-0.1.0.tar.gz
| Download URL | eu_compliance_certificate_generator-0.1.0.tar.gz |
|---|---|
| Size | 12.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e639331c1ce0c40cced15b380c4c665bc1cd9a720435ffe5f0d8e089253f9888
|
|
BLAKE2b-256 checksum How to use checksums |
0558aab48e70a9e66e5a453aa0ab9b4c3750bc4345ff4da145285b9f83a07684
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / eu_compliance_certificate_generator-0.1.0-py3-none-any.whl
| Download URL | eu_compliance_certificate_generator-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a8c05a6c16166c69bc6d4d7af76c1fb4990583b3e86c15bc59fdf18920ffbe5c
|
|
BLAKE2b-256 checksum How to use checksums |
5e10db47b7c7ed299dec3f627cea3e84e682d9db5eb974ef05f3be23a008175e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|