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.1.0.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.1.0-py3-none-any.whl (132.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trustlint-2.1.0.tar.gz
  • Upload date:
  • Size: 81.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for trustlint-2.1.0.tar.gz
Algorithm Hash digest
SHA256 3799de04cde1eb15774ba5ff0e4a017f2736e972ad9c20ca9c301e3ea937f363
MD5 33c0faf15d5ec794492f30a349f99b8b
BLAKE2b-256 a8a0c35f1e56d4a277632996c837ca359c49627a6e1f7cabd78092c1a74d6d12

See more details on using hashes here.

Provenance

The following attestation bundles were made for trustlint-2.1.0.tar.gz:

Publisher: publish.yml on ComplyEdge/complyedge-platform

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: trustlint-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 132.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for trustlint-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 162feec702e0da277af9207aa7a999caa3bf6ebc6d967b613f5c2afb83a9c3ad
MD5 4bcd6a591777ca58c500bae94d489743
BLAKE2b-256 5cac67b4041039f5f03a154b854f4fa705c304c622671c017e3d1e73d48ba66c

See more details on using hashes here.

Provenance

The following attestation bundles were made for trustlint-2.1.0-py3-none-any.whl:

Publisher: publish.yml on ComplyEdge/complyedge-platform

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 files

2.0.7

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