guardrails-ai-valid-length
Ensures the length of a string or list falls between a minimum and maximum.
Installation
pip install guardrails-ai-valid-length
This validator ships local models. After installing, run the post-install step to download them:
python -m guardrails_ai.valid_length.post_install
Usage
from guardrails import Guard
from guardrails_ai.valid_length import ValidLength
guard = Guard().use(ValidLength)
License
MIT — © Guardrails AI.
Metadata
Release files for guardrails-ai-valid-length 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 | |
|---|---|---|---|---|
| guardrails_ai_valid_length-0.1.0.tar.gz | 4.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| guardrails_ai_valid_length-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.6 kB
Release files / guardrails_ai_valid_length-0.1.0.tar.gz
| Download URL | guardrails_ai_valid_length-0.1.0.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a03342da693e528d59d0b4423ab6d2439c6b9826fedcf6d7a16649f7040f4204
|
|
BLAKE2b-256 checksum How to use checksums |
e0b53a11c6947c668fdfbf0afa5907228c84667c11b728ab6de419a3805f4109
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Release files / guardrails_ai_valid_length-0.1.0-py3-none-any.whl
| Download URL | guardrails_ai_valid_length-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e9a92a0dba699e50213bc4bc670ae2a4f0ee6b5ce2ab92ef649f33db63094df
|
|
BLAKE2b-256 checksum How to use checksums |
95e416356c06ee0ce81cc980cee4e492cb2aa6f2df0eaca6b82b8d2caa2166e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Security for guardrails-ai-valid-length 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.