Skip to main content

guardrails-ai-valid-range

Assess whether a generated number is between a maximum and minimum value.

Installation

pip install guardrails-ai-valid-range

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

python -m guardrails_ai.valid_range.post_install

Usage

from guardrails import Guard
from guardrails_ai.valid_range import ValidRange

guard = Guard().use(ValidRange)

License

MIT — © Guardrails AI.

Metadata

Release files for guardrails-ai-valid-range 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for guardrails-ai-valid-range 0.1.0
File Size Uploaded Provenance
guardrails_ai_valid_range-0.1.0.tar.gz 3.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for guardrails-ai-valid-range 0.1.0
File Interpreter ABI Platform
guardrails_ai_valid_range-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.5 kB

Release files / guardrails_ai_valid_range-0.1.0.tar.gz

Download URL guardrails_ai_valid_range-0.1.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
156cc93c979b777553de2a0ebac6f4ccacfed103e786dcdd6c0d771d23043221
BLAKE2b-256 checksum
How to use checksums
260410612f13a9f972e83b04fd9e94c862372e4adbc8f0f391eb237da788b473
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_range-0.1.0-py3-none-any.whl

Download URL guardrails_ai_valid_range-0.1.0-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
124f48ca1d048fb05c87f79528510f5801d395f60d8b2e66f2e3e0f7a4576475
BLAKE2b-256 checksum
How to use checksums
b89108abd57c36b6d6ed852573a2ea0cebaefa0eb42ffc5d689e15523111b7d7
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-range 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.

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