Skip to main content

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

Project description

guardrails-ai-valid-range

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

Installation

pip install guardrails-ai-valid-range

Usage

from guardrails import Guard
from guardrails_ai.valid_range import ValidRange

guard = Guard().use(ValidRange)

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_valid_range-0.2.1a1.tar.gz (3.7 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_range-0.2.1a1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for guardrails_ai_valid_range-0.2.1a1.tar.gz
Algorithm Hash digest
SHA256 09d31f63080181f18822d55f10cd666374b7b2d2e10413e874a83f78bd5f09cd
MD5 d9c19d2a13b837c793323e5542cb9e4c
BLAKE2b-256 fc76a9dc85871e1682e29357ad53f6945ca9b5f465a7eb51ca39595b784f0009

See more details on using hashes here.

Provenance

The following attestation bundles were made for guardrails_ai_valid_range-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_range-0.2.1a1-py3-none-any.whl.

File metadata

File hashes

Hashes for guardrails_ai_valid_range-0.2.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 477376aeff91b17b5b9d8faa95fb9e0ba1875dd817a9e1239c4a89d3a1ab56f6
MD5 ba6a2be509e2c0d843cd1efa92927843
BLAKE2b-256 79d712ea84316c424d33fca4c8402f6145a8329cfa174d1b0eba2bebd331cdfd

See more details on using hashes here.

Provenance

The following attestation bundles were made for guardrails_ai_valid_range-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.

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