Skip to main content

Opencomplai Python SDK for EU AI Act compliance

Project description

opencomplai

License: AGPL-3.0 PyPI Python

The convenience meta-package for Opencomplai — EU AI Act compliance for your AI systems. Installing opencomplai gives you both the risk engine and the command-line tool in one step.

Install

pip install opencomplai

This installs:

  • opencomplai-core — the deterministic, rule-based EU AI Act risk engine and code-corroboration scanner.
  • opencomplai-cli — the opencomplai command-line tool.

Quick start

Command line

opencomplai init      # scaffold a system-manifest.json
opencomplai scan      # corroborate manifest against code
opencomplai check     # run the compliance gate

Python SDK

from opencomplai import assess, AssessmentInput, ModelMetadata

result = assess(AssessmentInput(
    model=ModelMetadata(
        name="my-model",
        version="1.0.0",
        modality="text",
        use_case="customer support chatbot",
        deployment_context="production",
    )
))
print(result.risk_level)

Public API re-exported from opencomplai: assess, AssessmentInput, ModelMetadata, RiskResult, ScanStatusArtifact, and SystemManifest.

Optional: AI intent plugin

For AI-powered intent classification of code callsites, also install opencomplai-ai:

pip install opencomplai-ai
opencomplai scan --ai-intent

Documentation

Full guides, SDK reference, and the EU AI Act concepts at docs.opencomplai.com.

License

AGPL-3.0-only. See LICENSE.

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

opencomplai-0.1.2.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

opencomplai-0.1.2-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file opencomplai-0.1.2.tar.gz.

File metadata

  • Download URL: opencomplai-0.1.2.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for opencomplai-0.1.2.tar.gz
Algorithm Hash digest
SHA256 91576af989b3ff857cc903f400cb5459454ffa2c06122d93869ee4d0b2e3a3f1
MD5 c4490b8be210585a6bb7c86d32fd4619
BLAKE2b-256 eb9fd601181dc52b72f8bee1d887473d54a82bfc359d5b57030ef209da315378

See more details on using hashes here.

File details

Details for the file opencomplai-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: opencomplai-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for opencomplai-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cc64410bfbe16eb9cb16762ab4fee23b4db0ed1a4dcc6b2f599ed7e3210d51f0
MD5 5a89038a460373e497015ae7d606e032
BLAKE2b-256 1677515dbb954cb5e007c92644b1377bab34efbeb8de08ef663ad6e3507d9873

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