guardrails-ai-contains-string
A Guardrails AI validator to check if the LLM-generated text contains a substring.
Installation
pip install guardrails-ai-contains-string
This validator ships local models. After installing, run the post-install step to download them:
python -m guardrails_ai.contains_string.post_install
Usage
from guardrails import Guard
from guardrails_ai.contains_string import ContainsString
guard = Guard().use(ContainsString)
License
MIT — © Guardrails AI.
Metadata
Release files for guardrails-ai-contains-string 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| guardrails_ai_contains_string-0.1.0.tar.gz | 3.5 kB | Without provenance | Details for guardrails_ai_contains_string-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| guardrails_ai_contains_string-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for guardrails_ai_contains_string-0.1.0-py3-none-any.whl |
Total release size: 7.1 kB
Release files / guardrails_ai_contains_string-0.1.0.tar.gz
| Download URL | guardrails_ai_contains_string-0.1.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2fd5e9507a79a5d2494c01f5be151e964ebe29eb01b5a4090ad53d06bb5e12e9
|
|
BLAKE2b-256 checksum How to use checksums |
8174d49db3037e44e7c5cb0a8bc0f3b9824c82eea1e69b0aff67edd90009b3a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / guardrails_ai_contains_string-0.1.0-py3-none-any.whl
| Download URL | guardrails_ai_contains_string-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9d4b7b3ea12f6228184597da17a1d36de229860669100401160583e4866a4ccf
|
|
BLAKE2b-256 checksum How to use checksums |
3d4ccc419b891889adf46dc3b7d2397b9f90d7412d75b550b5b5863e5a4603fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for guardrails-ai-contains-string 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.