safeguards

View on PyPIReverse Dependencies (0)

0.0.6 safeguards-0.0.6-py3-none-any.whl

Wheel Details

Project: safeguards
Version: 0.0.6
Filename: safeguards-0.0.6-py3-none-any.whl
Download: [link]
Size: 104109
MD5: 596596c1e583e275dc442f72eaea7d13
SHA256: e4fd3d4122d089540ac081080915631596f8d69ef928bf02a4400f6e4a218746
Uploaded: 2025-01-22 15:13:56 +0000

dist-info

METADATA

Metadata-Version: 2.2
Name: safeguards
Version: 0.0.6
Requires-Python: >=3.10
Requires-Dist: datasets (>=3.1.0)
Requires-Dist: detect-secrets (>=1.5.0)
Requires-Dist: evaluate (>=0.4.3)
Requires-Dist: google-generativeai (>=0.8.3)
Requires-Dist: hyperscan (>=0.7.8)
Requires-Dist: openai (>=1.52.2)
Requires-Dist: weave (>=0.51.27)
Requires-Dist: streamlit (>=1.40.1)
Requires-Dist: python-dotenv (>=1.0.1)
Requires-Dist: watchdog (>=6.0.0)
Requires-Dist: transformers (>=4.46.3)
Requires-Dist: instructor (>=1.7.0)
Requires-Dist: diskcache (>=5.6.3)
Requires-Dist: matplotlib (>=3.9.3)
Requires-Dist: plotly (>=5.24.1)
Requires-Dist: scikit-learn (>=1.5.2)
Requires-Dist: sqlparse (>=0.5.2)
Requires-Dist: presidio-analyzer (>=2.2.355); extra == "presidio"
Requires-Dist: presidio-anonymizer (>=2.2.355); extra == "presidio"
Requires-Dist: gibberish-detector (>=0.1.1); extra == "secrets"
Requires-Dist: detect-secrets (>=1.5.0); extra == "secrets"
Requires-Dist: hyperscan (>=0.7.8); extra == "secrets"
Requires-Dist: isort (>=5.13.2); extra == "dev"
Requires-Dist: black (>=24.10.0); extra == "dev"
Requires-Dist: ruff (>=0.6.9); extra == "dev"
Requires-Dist: pip (>=24.2); extra == "dev"
Requires-Dist: uv (>=0.5.11); extra == "dev"
Requires-Dist: pytest (>=8.3.4); extra == "dev"
Requires-Dist: hypothesis (>=6.122.5); extra == "dev"
Requires-Dist: mkdocs (>=1.6.1); extra == "docs"
Requires-Dist: mkdocstrings (>=0.26.1); extra == "docs"
Requires-Dist: mkdocstrings-python (>=1.11.1); extra == "docs"
Requires-Dist: mkdocs-material (>=9.5.39); extra == "docs"
Requires-Dist: mkdocs-minify-plugin (>=0.8.0); extra == "docs"
Requires-Dist: mkdocs-glightbox (>=0.4.0); extra == "docs"
Requires-Dist: mkdocs-jupyter (>=0.25.0); extra == "docs"
Requires-Dist: jupyter (>=1.1.1); extra == "docs"
Requires-Dist: pytest (>=8.2.0); extra == "test"
Requires-Dist: pytest-asyncio (>=0.23.6); extra == "test"
Requires-Dist: pytest-cov (>=5.0.0); extra == "test"
Requires-Dist: pytest-xdist (>=3.1.0); extra == "test"
Requires-Dist: hypothesis (>=6.122.1); extra == "test"
Provides-Extra: presidio
Provides-Extra: secrets
Provides-Extra: dev
Provides-Extra: docs
Provides-Extra: test
Description-Content-Type: text/markdown
[Description omitted; length: 2779 characters]

WHEEL

Wheel-Version: 1.0
Generator: setuptools (75.8.0)
Root-Is-Purelib: true
Tag: py3-none-any

RECORD

Path Digest Size
safeguards/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
safeguards/llm.py sha256=q3Mtosacicblz-aviJ_TcK3BCVhXNzEMI65Y2JUNNRE 8626
safeguards/metrics.py sha256=vGOnE8P94Unxvhi0ZtSDUqUHGHc0Dn4ASfbPXORLyvs 3378
safeguards/regex_model.py sha256=Y7FZIVOfaXElpn4EXEFRgZToJ9omLRp-xvMkE_I8XMM 2482
safeguards/utils.py sha256=cQ0zebphy0qzUQ6QMg0nVEN5HkfLgPbWw0XHeccqzOk 13076
safeguards/guardrails/__init__.py sha256=rOJPQF-Hu8VFlrHS1apz6jfzFPwe4za9hrZLOleWnCM 1166
safeguards/guardrails/base.py sha256=XyQBQFFXr7FtkKX3m1WmkQN8gZ8zQ-kbrWeRJ3R5v5M 1037
safeguards/guardrails/manager.py sha256=dW8wfy_3czlfkkMhJfmZ9gIx3eASsxssRp7ANaLMuKA 3978
safeguards/guardrails/entity_recognition/ReadMe.md sha256=AJpo1ySu7cc0ByrCEiGelhNMlr9GqLvG7wMMGQBEuyU 4018
safeguards/guardrails/entity_recognition/__init__.py sha256=h2cgHg0z49ZQaAXDgXtqBccZ9cUsBpNFkIarEoM2_20 769
safeguards/guardrails/entity_recognition/llm_judge_entity_recognition_guardrail.py sha256=zbuacVx4dHdqrNkdRMaOdqm29M5wLRP27lN8Pkw7ceQ 8867
safeguards/guardrails/entity_recognition/presidio_entity_recognition_guardrail.py sha256=xT_HjE9v_xVnEAkt7Bv2Wd5rm7fkwZKY505mGZODzZc 10454
safeguards/guardrails/entity_recognition/regex_entity_recognition_guardrail.py sha256=QigvOEOff8JD4TQ4EGmYdHHdxYAaMfmcdnQkqZBSH3A 9862
safeguards/guardrails/entity_recognition/transformers_entity_recognition_guardrail.py sha256=p0qpvHirqJ2p-Kj4RDIeDbjcIZohjwRvNfYJFlfEdts 10738
safeguards/guardrails/entity_recognition/banned_terms_examples/banned_term_benchmark.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
safeguards/guardrails/entity_recognition/banned_terms_examples/banned_term_examples.py sha256=NwIQEc6kRcUoF3oJN83kfVKKTv6s4KijKjJT_3zCw4E 6881
safeguards/guardrails/entity_recognition/banned_terms_examples/run_llm_judge.py sha256=C2wA4o8ruzr7PAPdwOQ-3C5SKgDSEM33hSe3R1FNWHo 1557
safeguards/guardrails/entity_recognition/banned_terms_examples/run_regex_model.py sha256=Juxb6RlfBHwtL2a_i1hePt7yqGF5s3_HzaWLgzBPSGI 1608
safeguards/guardrails/entity_recognition/pii_examples/pii_benchmark.py sha256=RDdX_X9fEWCT11prbRa2Mx4OwA-AZUptxP9VKwkxTSM 11578
safeguards/guardrails/entity_recognition/pii_examples/pii_benchmark_weave.py sha256=DYxTyV5OqSc5zk1WFKfTBvIrIB2UcLo6NoFm3NYyCOk 12927
safeguards/guardrails/entity_recognition/pii_examples/pii_test_examples.py sha256=ZIC-h5jyE0s5N-RjRry9NkURA0n_Vqihtl1NdpT2X1g 4787
safeguards/guardrails/entity_recognition/pii_examples/run_presidio_model.py sha256=_WCDuQppssnXZ3qAQHUpJCXoMbdDxdNU0C8f0ydNcdU 1497
safeguards/guardrails/entity_recognition/pii_examples/run_regex_model.py sha256=tTkec_4iyUO1vB7Yt_oReAES5dKGk3guKn6Iy0OduUg 1485
safeguards/guardrails/entity_recognition/pii_examples/run_transformers.py sha256=AXRmBGaNTER-p1w6ylTpFCtdDYsjg8DrUm111QWIHKs 1692
safeguards/guardrails/injection/__init__.py sha256=5879G11TkF7cMNsfvIhgPTKeXl_Hvxtjcwm_i79P3hg 216
safeguards/guardrails/injection/llm_guardrail.py sha256=7s-yQMtixqnhxxb-dVF8rfSTVn7gm69KNEfJbqHWjkI 7097
safeguards/guardrails/injection/prompts.py sha256=nVRtPYz4oDIqTIXVswL77kw5IrxcxtApreOmk5lcKiY 19031
safeguards/guardrails/injection/classifier_guardrail/__init__.py sha256=7G1zOirfGifDwaLHZyuW769I2dcqF1neLZAnhtOgSHI 126
safeguards/guardrails/injection/classifier_guardrail/classifier_guardrail.py sha256=GCiotqAVkz5it48LJPuIpL8Pc7YTlrgxoRngzwwE2q8 3831
safeguards/guardrails/injection/classifier_guardrail/huggingface_classifier_guardrail.py sha256=LfOYQwrD3hZc60M5C9Z3OGHpiJG-Q-f1nu-eTPqWJKc 3083
safeguards/guardrails/injection/classifier_guardrail/llama_prompt_guardrail.py sha256=l3qa_RSJaA7cgC-SSpD0FormVqwehsHdrgQq4V2sZwo 8191
safeguards/guardrails/privilege_escalation/README.md sha256=9qMn8w_KjB4rcN7qQfqVqvmcW1DUck1FgYvmtbFHqAo 6128
safeguards/guardrails/privilege_escalation/__init__.py sha256=Qj53E72gABdD-rK74bW62Ell8SPM_pjOWu7DExhF3Q4 179
safeguards/guardrails/privilege_escalation/llm_dataset_creation.py sha256=0HNsoMOBDmhjVNrnHpyxZjWW3Td5lGFGdaFmmSrcf_c 4976
safeguards/guardrails/privilege_escalation/priv_esc_guardrails.py sha256=xSfPn1r7QDhGp_paZLG52qcfbDaXjXAZAn8BCX0lRsA 8448
safeguards/guardrails/privilege_escalation/prompts.py sha256=uVP_LueqRV2QONhc91lpqybVr7b7j9Ksc3fVHgdklFY 2225
safeguards/guardrails/secrets_detection/__init__.py sha256=y9P5Ho2tCqKqUCyhdHC_PeMKqbHRFf61nT32wVAwJ84 359
safeguards/guardrails/secrets_detection/secrets_detection.py sha256=Yg-gSdZ2M1atKQNQQ6pgdEOsHH0oB2Qjxart61GatmY 15610
safeguards/guardrails/secrets_detection/secrets_patterns.jsonl sha256=JbFu0xfgsYcu7qS1MngSzLurF98n4y0V6KbD96lYJg8 161152
safeguards/guardrails/sourcecode_detection/__init__.py sha256=XPaRQl0kUhCd9_cfweVntDYYQAWDlRPlwnv1nYbkTk8 158
safeguards/guardrails/sourcecode_detection/sourcecode_detection.py sha256=xtAay0U0EBX9v-ZKoGqBKTZMqFPG3cYfIgqCBxJGBjM 3137
safeguards/train/__init__.py sha256=dQ6nN--asn26ODzkB6VpQIIN8PIPnzNyhljL_MX7oG8 189
safeguards/train/llama_guard.py sha256=uiEqbhfYDnYECvTuN4ky4PNZKRzkMFzMlR67aFffPis 18189
safeguards/train/train_classifier.py sha256=0dzvJ02aycUKmDGhGI0p7x_lE28FrFh6jsmhesvEOcI 4719
safeguards-0.0.6.dist-info/METADATA sha256=J-LbzQsYPTGyRfPVjBLtwWZuCuP9hFv_9JpaXV8rx74 4871
safeguards-0.0.6.dist-info/WHEEL sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8 91
safeguards-0.0.6.dist-info/top_level.txt sha256=25oI72ZjKQIVi3wyHpzobWmPklV9Hb2pZ0jPj5EwKyc 11
safeguards-0.0.6.dist-info/RECORD

top_level.txt

safeguards