Skip to main content

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

Project description

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.

Project details


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.1.0.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.

guardrails_ai_profanity_free-0.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file guardrails_ai_profanity_free-0.1.0.tar.gz.

File metadata

File hashes

Hashes for guardrails_ai_profanity_free-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a38915ad059c41fe2d89bfaf2ba52e14985fd98335373daf10f34d302bcaa002
MD5 b357378e4bb292378de7ee08dd3fdffa
BLAKE2b-256 f8c583032bbae451fffb77afbca46904f2254137e4fef0f604b36f092e05440a

See more details on using hashes here.

File details

Details for the file guardrails_ai_profanity_free-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for guardrails_ai_profanity_free-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab2ebc20270500c2a6f0b29f9cbd116fe5591cf398b4d5bdce717a71c8974aec
MD5 76d114f707ea0faad32d21d5099163c1
BLAKE2b-256 93b589d8d6816abbc49bcdbfa0d7fe93d1950cab018d10d1ee01f2fad48ff3d1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page