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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trustlint-2.0.7.tar.gz (81.4 kB view details)

Uploaded Source

Built Distribution

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

trustlint-2.0.7-py3-none-any.whl (131.7 kB view details)

Uploaded Python 3

File details

Details for the file trustlint-2.0.7.tar.gz.

File metadata

  • Download URL: trustlint-2.0.7.tar.gz
  • Upload date:
  • Size: 81.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for trustlint-2.0.7.tar.gz
Algorithm Hash digest
SHA256 d6406b7e25d355e9a61c886f58a84cd79621737d4c289e040761f694d27d596b
MD5 9651218ddbd907c87eccfab98dfef623
BLAKE2b-256 e094c89202b7b41e46de0e0d8e97352a8df88ee3615b1c419fe546625bbf97cd

See more details on using hashes here.

File details

Details for the file trustlint-2.0.7-py3-none-any.whl.

File metadata

  • Download URL: trustlint-2.0.7-py3-none-any.whl
  • Upload date:
  • Size: 131.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for trustlint-2.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 6a9b5dd71b3be93c796e95d295e22d27ac6ffc31fc6a4fdcd954dff12a2b65e3
MD5 f39b0e5ca74cb5493d8308bcf10143a3
BLAKE2b-256 758a67a2357f621b2d3d3d3f581e14ced4abf1f8d4a099281bd43d9143e1fca7

See more details on using hashes here.

Release history Release notifications | RSS feed

2.1.0

2 files

This release

2.0.7 This release

2 files

2.0.6

2 files

2.0.5

2 files

2.0.4

2 files

2.0.3

2 files

2.0.2

2 files

2.0.1

2 files

2.0.0

2 files

1.0.3

2 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