Skip to main content

guardrails-ai-exclude-sql-predicates

This rule checks for the use of particular SQL predicates in the query. It is important to exclude SQL predicates from the query to prevent SQL injection attacks.

Installation

pip install guardrails-ai-exclude-sql-predicates

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

python -m guardrails_ai.exclude_sql_predicates.post_install

Usage

from guardrails import Guard
from guardrails_ai.exclude_sql_predicates import ExcludeSqlPredicates

guard = Guard().use(ExcludeSqlPredicates)

License

MIT — © Guardrails AI.

Metadata

Release files for guardrails-ai-exclude-sql-predicates 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-exclude-sql-predicates 0.1.0
File Size Uploaded Provenance
guardrails_ai_exclude_sql_predicates-0.1.0.tar.gz 4.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for guardrails-ai-exclude-sql-predicates 0.1.0
File Interpreter ABI Platform
guardrails_ai_exclude_sql_predicates-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.0 kB

Release files / guardrails_ai_exclude_sql_predicates-0.1.0.tar.gz

Download URL guardrails_ai_exclude_sql_predicates-0.1.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ea3ee017ceb1626d15adb9c4fb52aa11a1d97b9ceacbc6c8fa3c5c95e04c3a7d
BLAKE2b-256 checksum
How to use checksums
ff98f5b4395c55a6f2ddf75ae1a2bc33d6207a025055c3aa32af4ae9bd9a5b85
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_exclude_sql_predicates-0.1.0-py3-none-any.whl

Download URL guardrails_ai_exclude_sql_predicates-0.1.0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2787a3bec6880698629117c0c1a13bc6418f188a5c3bd1eb783f8cb2d09c4c1b
BLAKE2b-256 checksum
How to use checksums
9be85e4b0d4ba47982381e75374666e6b667b0bb623cf882d3e3f5f4ad569509
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-exclude-sql-predicates 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