Skip to main content

Ensure content contains a url.

Project description

guardrails-ai-has-url

Ensure content contains a url.

Installation

pip install guardrails-ai-has-url

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

python -m guardrails_ai.has_url.post_install

Usage

from guardrails import Guard
from guardrails_ai.has_url import HasUrl

guard = Guard().use(HasUrl)

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_has_url-0.1.0.tar.gz (4.0 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_has_url-0.1.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for guardrails_ai_has_url-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6ec9e081cd4fe825ab7e6a410c21b060c544d2524f6c36d5c4d405da166325c1
MD5 7be14645349451bd6890dfe3c85bcf38
BLAKE2b-256 21b1a08fa245355117db3515e46b163058cedf8313d250a8681cd751fe9cf79e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for guardrails_ai_has_url-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c1f8e823b8c1ab43d2a67684ecfb4ee08411d78571fc104c4a81865b4ccf05b4
MD5 41eedfe2dab6f34ae27b33f3a087198f
BLAKE2b-256 d3b602119085a43d35b102a1e3b1db115d9521d38a8c0c06573ead95d5557bcb

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