guardrails-ai-shieldgemma-2b
A Gemma based validator for moderating user prompts to guard against harmful content by specifying a policy.
Installation
pip install guardrails-ai-shieldgemma-2b
This validator ships local models. After installing, run the post-install step to download them:
python -m guardrails_ai.shieldgemma_2b.post_install
Usage
from guardrails import Guard
from guardrails_ai.shieldgemma_2b import ShieldGemma2B
guard = Guard().use(ShieldGemma2B)
License
MIT — © Guardrails AI.
Metadata
Release files for guardrails-ai-shieldgemma-2b 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_shieldgemma_2b-0.1.0.tar.gz | 4.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| guardrails_ai_shieldgemma_2b-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.6 kB
Release files / guardrails_ai_shieldgemma_2b-0.1.0.tar.gz
| Download URL | guardrails_ai_shieldgemma_2b-0.1.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4704b2aaceca90a0e52c504751db98e806f5fbd0cf2a9a53b891a915a1e6352f
|
|
BLAKE2b-256 checksum How to use checksums |
b21535494c645d96860da031cdb08bae5c33f7020b8aaea68f484676570652ef
|
| 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_shieldgemma_2b-0.1.0-py3-none-any.whl
| Download URL | guardrails_ai_shieldgemma_2b-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7938865b5196c346a2de3bf8151844cd4978dfe4ef057964bf18ae288f9cca19
|
|
BLAKE2b-256 checksum How to use checksums |
f96a818bc1b3549b1a565ff7eb7172526b5b06645a5c7f26a5315d90678052e3
|
| 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-shieldgemma-2b 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.