Skip to main content

TrustLint

PyPI version Python versions PyPI provenance

Offline Python compliance linter for AI agents — EU AI Act Article 5 and Article 50 (and related corpus rules). Scans text against the bundled ComplyEdge rule corpus. No API key is required for local checks.

TrustLint catches rule-backed EU AI Act, SOX, HIPAA, GDPR, COPPA, and PCI DSS risks before text reaches production.

Install

pip install trustlint

The wheel includes its rule corpus, so it does not need a local rules/ directory.

Quick Start

trustlint check --text "Deploy social credit score for citizens"

Use trustlint check prompt.txt to scan a file, or trustlint rules list to inspect the available rules.

Hosted API vs. Offline Linter

TrustLint runs locally and needs no API key. For runtime policy enforcement and an application-facing evidence trail, use the hosted ComplyEdge Python SDK.

Scope

TrustLint is an offline linter. Its Python engine evaluates the bundled rule corpus, including temporal and effective-date rule state. It does not replace the hosted ComplyEdge API when an application needs runtime policy enforcement and an evidence trail.

License

Apache-2.0 — ComplyEdge

Metadata

Release files for trustlint 2.1.2

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

Source distribution (sdist)

Source distribution for trustlint 2.1.2
File Size Uploaded
trustlint-2.1.2.tar.gz 79.5 kB Details

Built distribution (wheel)

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

Total release size: 209.0 kB

Release files / trustlint-2.1.2.tar.gz

Download URL trustlint-2.1.2.tar.gz
Size 79.5 kB
Tags Source
SHA-256 checksum
How to use checksums
46c96cf8b0b78f7872fbc45a42726ba2604dd4015b0d1ea4e84738d0486f3138
BLAKE2b-256 checksum
How to use checksums
8253560e15b1bd15ad7f623bf1a237c582be56a4ca66bdd67105a83fa0fd61cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.

Transparency log

Release files / trustlint-2.1.2-py3-none-any.whl

Download URL trustlint-2.1.2-py3-none-any.whl
Size 129.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c8a7324eadf96a5a3ff26069c27cc4e4515a2d6608fb3ab2e83f5dcc1793bb16
BLAKE2b-256 checksum
How to use checksums
2edf5fb3d9846012ee4db63fc5813feb2778ac95c6aa2bc86191ac2632e8e9fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.1.2 This release

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.7

2 release files

2.0.6

2 release files

2.0.5

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.0.3

2 release files

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