Skip to main content

This validator checks if the input is a single line of text.

Project description

guardrails-ai-one-line

This validator checks if the input is a single line of text.

Installation

pip install guardrails-ai-one-line

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

python -m guardrails_ai.one_line.post_install

Usage

from guardrails import Guard
from guardrails_ai.one_line import OneLine

guard = Guard().use(OneLine)

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for guardrails_ai_one_line-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e19d1a70e183b3c95fbcec902a8daa7ec8e3508e0875480cd5bd5d56b9eeb87d
MD5 916cac1368299eaeb9837a761b825709
BLAKE2b-256 54a01b831a15fe982ff77f9b9069d7c7405e5c1ec3aec38e4ed620d7d1aeaafa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for guardrails_ai_one_line-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa5b12327ea5587b40b5e93e7d00acdcea7ac1b5cb667312bfc3d37203dedf9e
MD5 8aaa35fc4c339477258e8050fa4e5738
BLAKE2b-256 e4ff851f3fcfcf0671659fb307ba93442a39301c3f43287c6be8587a22a2a380

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