Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

guardrails-ai-profanity-free

Checks for profanity in text, using the alt-profanity-check library.

Installation

pip install guardrails-ai-profanity-free

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

python -m guardrails_ai.profanity_free.post_install

Usage

from guardrails import Guard
from guardrails_ai.profanity_free import ProfanityFree

guard = Guard().use(ProfanityFree)

License

MIT — © Guardrails AI.

Download files

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

Source Distribution

guardrails_ai_profanity_free-0.2.1a1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file guardrails_ai_profanity_free-0.2.1a1.tar.gz.

File metadata

File hashes

Hashes for guardrails_ai_profanity_free-0.2.1a1.tar.gz
Algorithm Hash digest
SHA256 97ea3a984cb81bf7da1007c0298b3402100e27277ac609196c6691cb6238e3ba
MD5 f68607107293bda539647450749f1bea
BLAKE2b-256 ef7bdc7b295f2a6d289fb22c3f08530ff6aca4debae5f5a5f89c3bdcf195df4a

See more details on using hashes here.

Provenance

The following attestation bundles were made for guardrails_ai_profanity_free-0.2.1a1.tar.gz:

Publisher: validators_publish.yml on guardrails-ai/guardrails-hub-monorepo

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

File details

Details for the file guardrails_ai_profanity_free-0.2.1a1-py3-none-any.whl.

File metadata

File hashes

Hashes for guardrails_ai_profanity_free-0.2.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 af1a77d88ffa57bf92f99b3762ab35ab7d622c9da09ed79cb916d10378f0e82c
MD5 52fdd20971013f62f2f047fccb80e650
BLAKE2b-256 9d90a239b9faa4b89568c2276c8f47386861632a387a6b64198fefe14b3444de

See more details on using hashes here.

Provenance

The following attestation bundles were made for guardrails_ai_profanity_free-0.2.1a1-py3-none-any.whl:

Publisher: validators_publish.yml on guardrails-ai/guardrails-hub-monorepo

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

0.2.1a1 This release

2 files

0.1.0

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