Skip to main content

Check if a string or list ends with a specified string or list.

Project description

guardrails-ai-ends-with

Check if a string or list ends with a specified string or list.

Installation

pip install guardrails-ai-ends-with

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

python -m guardrails_ai.ends_with.post_install

Usage

from guardrails import Guard
from guardrails_ai.ends_with import EndsWith

guard = Guard().use(EndsWith)

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for guardrails_ai_ends_with-0.1.0.tar.gz
Algorithm Hash digest
SHA256 04e054792bad0c108dcf2748545bba94e1c8ecad2fe069396b4a9fc0b85fb3f9
MD5 77b83ddaf9b106d6625789cd6367b358
BLAKE2b-256 338791634a9d88a74b05a6484cfe6613b39a97c6973f94636cf13e3608084d8f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for guardrails_ai_ends_with-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 da31c6538debbbaab09c6816d8ec5e839ab4f5db74e798496a62154890d3f790
MD5 699643b93aada3fb6a0b140f613111a7
BLAKE2b-256 902e7d3d2784a7c04c80dc23a7f4fbe8b4f8075aa12d7032265dc2d6870a260f

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