TrustLint
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
Release files for trustlint 2.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| trustlint-2.1.1.tar.gz | 81.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| trustlint-2.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 213.5 kB
Release files / trustlint-2.1.1.tar.gz
| Download URL | trustlint-2.1.1.tar.gz |
|---|---|
| Size | 81.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dfd59e4879ac1e38c99763c635004215c1eaa8761ec53d35a741b4741424083c
|
|
BLAKE2b-256 checksum How to use checksums |
43dad71388f6d993d23b35a7d584792407da841404045a4900eea7c177ffbe42
|
| 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 25, 2026.
Transparency logRelease files / trustlint-2.1.1-py3-none-any.whl
| Download URL | trustlint-2.1.1-py3-none-any.whl |
|---|---|
| Size | 132.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
869b9dd376b5454374a7a9813097bbe0ac2ce40693c8f4617eff01a3918e44b6
|
|
BLAKE2b-256 checksum How to use checksums |
085a3f9a7362208b9330a82d88c2ebb365f2b425ce5d8f7bd14de0b00a701557
|
| 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 25, 2026.
Transparency log