Skip to main content

🛡️ AutoCompliance

Python 3.9+ License: MIT Dependencies: zero Tests

GDPR + SOC 2 compliance autopilot for small businesses.

Compliance consultants charge $5,000–$50,000. AutoCompliance does the first 80% free, in 10 minutes.

Demo

AutoCompliance demo

Watch it work: answer questions, get your grade, fix list, and documents.

Sample compliance report

Sample report: a company scores 67% (Grade C) with prioritized fixes.

Install

From PyPI (once published):

pip install autocompliance

Local development:

git clone https://github.com/Mahiroyal804/autocompliance.git
cd autocompliance
pip install -e .

Requires Python 3.9+. Zero third-party dependencies — standard library only.

Usage

# Full interactive assessment (40 questions, GDPR + SOC 2)
autocompliance assess --company "Acme Inc" --email privacy@acme.com

# Save to a custom folder, with PDFs
autocompliance assess --company "Acme Inc" --output ./compliance-report --pdf

# GDPR only
autocompliance assess --company "Acme Inc" --frameworks GDPR

# Just generate the document templates (no questions)
autocompliance docs --company "Acme Inc" --pdf

# List all controls
autocompliance controls

What you get after 40 questions

Answer 40 yes/no questions and AutoCompliance generates everything into ./compliance-report/:

  • 📊 Compliance grade (A–F) with per-framework scores (GDPR + SOC 2)
  • 🎯 Prioritized fix list — critical → high → medium, each with a concrete remedy
  • 📄 15 document templates (markdown + optional PDF):
    • Privacy Policy, DPA template, RoPA sheet
    • SOC 2 readiness checklist, risk register
    • Incident response plan, security policy, DSR playbook
    • Vendor register, retention schedule, access/change policies
    • Backup runbook, LIA & DPIA templates
  • 🖼️ Client-ready HTML report — show customers and auditors where you stand
  • 💾 Raw JSON of every answer and score (for your records)

Example

$ autocompliance assess --company "Demo Inc" --output ./compliance-report --pdf

  AutoCompliance assessment — Demo Inc

  GRADE: C  (59%)
  GDPR: 61%

  Top fixes:
  [HIGH] Publish a privacy notice
  [HIGH] Define one intake channel
  [HIGH] Enable TLS everywhere

  Report: ./compliance-report/compliance-report.html
  30 documents: ./compliance-report/documents

What's inside

Framework Controls Questions
GDPR 9 (lawful basis, transparency, DSR, security, breach, RoPA, vendors, minimization, DPIA/DPO) 22
SOC 2 7 (access, change, monitoring, backups, vendors, risk, policies) 18
Total 16 40

Questions live in autocompliance/questions.json (plain JSON — no YAML parser needed, keeping the package dependency-free).

Development

# Run tests (stdlib unittest, no pytest needed)
python -m unittest discover -s tests

# Build for PyPI
python -m build

# Check the package
twine check dist/*

Roadmap

  • Web UI + hosted SaaS version
  • Evidence collection (auto-check TLS, DNS, headers)
  • ISO 27001 module
  • Auditor export pack

Disclaimer

Templates are starting points, not legal advice. Have a lawyer review before relying on them.

License

MIT — make compliance boring. 🛡️

Metadata

Release files for autocompliance 0.2.1

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

Source distribution (sdist)

Source distribution for autocompliance 0.2.1
File Size Uploaded Provenance
autocompliance-0.2.1.tar.gz 22.2 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 50.6 kB

Release files / autocompliance-0.2.1.tar.gz

Download URL autocompliance-0.2.1.tar.gz
Size 22.2 kB
Tags Source
SHA-256 checksum
How to use checksums
bd51a51ac934ae945f60b8fb0dbed436643579d634196bc949b142888f3b9b5f
BLAKE2b-256 checksum
How to use checksums
25bf38d20dc974b6c028f95ce8330ca79da6a11b8cf9d7f38451e3c805b1ac6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / autocompliance-0.2.1-py3-none-any.whl

Download URL autocompliance-0.2.1-py3-none-any.whl
Size 28.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2977bb87e01fd87856e58e0ef6afb16faaaf811528058d9ba9c5f2322bf1b77a
BLAKE2b-256 checksum
How to use checksums
fed575d78fea1eb0e9e9d5a29f659f37933469841e717a83176fc2879ed70fde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for autocompliance 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files No provenance

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