Skip to main content

Passes when value is *exactly* two words.

Project description

guardrails-ai-two-words

Passes when value is exactly two words.

Installation

pip install guardrails-ai-two-words

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

python -m guardrails_ai.two_words.post_install

Usage

from guardrails import Guard
from guardrails_ai.two_words import TwoWords

guard = Guard().use(TwoWords)

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_two_words-0.1.0.tar.gz (3.8 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_two_words-0.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: guardrails_ai_two_words-0.1.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for guardrails_ai_two_words-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6512fe9e163c446c98acb818c5d5185a18d9b04c6ed6043b44abb36928b193e7
MD5 dfa4b639c1ab10b9946e3e9bd212d5bd
BLAKE2b-256 3c101666dce1ea1928c9ae6636601abd5bbaf29ce12a22a669afad0a5dfa2854

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for guardrails_ai_two_words-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ddaad0b370330cbc5e80d17240e7e9df46f59693e83c3ac3e4d624725d856fe1
MD5 afa8f26baa096d4990737b16884de834
BLAKE2b-256 c91267ca7add69118f74b1b7e2b7dc810c549902b5b00a68744868c661eca1d7

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