Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

Usage

from guardrails import Guard
from guardrails_ai.valid_length import ValidLength

guard = Guard().use(ValidLength)

License

MIT — © Guardrails AI.

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_valid_length-0.2.1a1.tar.gz (4.4 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_valid_length-0.2.1a1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file guardrails_ai_valid_length-0.2.1a1.tar.gz.

File metadata

File hashes

Hashes for guardrails_ai_valid_length-0.2.1a1.tar.gz
Algorithm Hash digest
SHA256 2c1c735318748e7d490abb1f1ca09ebb353cd707c74e32877a698c8c5dc6c781
MD5 87434376c51eeea68c8ac922d7e09abe
BLAKE2b-256 e6ec908895ca354effc8daf7fed51aa228a80570c551e71c0b7e2f3e2dbe89b8

See more details on using hashes here.

Provenance

The following attestation bundles were made for guardrails_ai_valid_length-0.2.1a1.tar.gz:

Publisher: validators_publish.yml on guardrails-ai/guardrails-hub-monorepo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file guardrails_ai_valid_length-0.2.1a1-py3-none-any.whl.

File metadata

File hashes

Hashes for guardrails_ai_valid_length-0.2.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 b4428bbff403fbd1715f3f12a8553fcad354fc4e71cdb5eb49b3dc1174042faf
MD5 5ca56154f0e9768f688b6b5849d11873
BLAKE2b-256 49af89bc07a1ada60bc99fd37101df87c07a4f91809f0b07060c4157fd4e43cd

See more details on using hashes here.

Provenance

The following attestation bundles were made for guardrails_ai_valid_length-0.2.1a1-py3-none-any.whl:

Publisher: validators_publish.yml on guardrails-ai/guardrails-hub-monorepo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.2.1a1 This release

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page