Skip to main content

guardrails-ai-ban-list

Validates that the output does not contain banned words, using fuzzy search.

Installation

pip install guardrails-ai-ban-list

This validator ships local models. After installing, run the post-install step to download them:

python -m guardrails_ai.ban_list.post_install

Usage

from guardrails import Guard
from guardrails_ai.ban_list import BanList

guard = Guard().use(BanList)

License

MIT — © Guardrails AI.

Metadata

Release files for guardrails-ai-ban-list 0.1.0

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

Source distribution (sdist)

Source distribution for guardrails-ai-ban-list 0.1.0
File Size Uploaded Provenance
guardrails_ai_ban_list-0.1.0.tar.gz 4.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for guardrails-ai-ban-list 0.1.0
File Interpreter ABI Platform
guardrails_ai_ban_list-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.7 kB

Release files / guardrails_ai_ban_list-0.1.0.tar.gz

Download URL guardrails_ai_ban_list-0.1.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e547c24e69eb45bb2d483d8aa79b302568c2057d8b5c3f47b0a6aff20e67a2a6
BLAKE2b-256 checksum
How to use checksums
94498ab9d0d8cf475e0b501399971010d220e4b5caf7ed9945d885a94878f21d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / guardrails_ai_ban_list-0.1.0-py3-none-any.whl

Download URL guardrails_ai_ban_list-0.1.0-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c685527dc6f808d43bcc81e587b21e6ce20f4f855f248ec089959458c69b7bde
BLAKE2b-256 checksum
How to use checksums
d306f7e79429d68159af2a9a2504bf09dcc024eabacb036845da63f67c43f295
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Security for guardrails-ai-ban-list 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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