Metadata-Version: 2.4
Name: pyrit
Version: 0.14.0
Summary: The Python Risk Identification Tool for LLMs (PyRIT) is a library used to assess the robustness of LLMs
Author-email: Microsoft AI Red Team <airedteam@microsoft.com>
License-Expression: MIT
Keywords: llm,ai-safety,ai-security,ai-red-team,ai-red-teaming,ai-robustness,ai-robustness-testing,ai-risk-assessment
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: <3.15,>=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: NOTICE.txt
Requires-Dist: aiofiles<25,>=24
Requires-Dist: alembic>=1.16.0
Requires-Dist: appdirs>=1.4.0
Requires-Dist: art>=6.5.0
Requires-Dist: av>=14.0.0
Requires-Dist: azure-core>=1.38.0
Requires-Dist: azure-identity>=1.19.0
Requires-Dist: azure-ai-contentsafety>=1.0.0
Requires-Dist: azure-storage-blob>=12.19.0
Requires-Dist: base2048>=0.1.3
Requires-Dist: colorama>=0.4.6
Requires-Dist: confusables>=1.2.0
Requires-Dist: confusable-homoglyphs>=3.3.1
Requires-Dist: ecoji>=0.1.1
Requires-Dist: datasets>=4.8.0
Requires-Dist: exceptiongroup>=1.2.0; python_version < "3.11"
Requires-Dist: fastapi>=0.133.0
Requires-Dist: httpx[http2]>=0.27.2
Requires-Dist: jinja2>=3.1.6
Requires-Dist: numpy>=1.26.0; python_version < "3.14"
Requires-Dist: numpy>=2.3.0; python_version >= "3.14"
Requires-Dist: openai>=2.2.0
Requires-Dist: openpyxl>=3.1.5
Requires-Dist: pillow>=12.2.0
Requires-Dist: pydantic>=2.11.5
Requires-Dist: PyJWT[crypto]>=2.8.0
Requires-Dist: pyodbc>=5.1.0
Requires-Dist: pypdf>=6.10.2
Requires-Dist: python-docx>=1.1.0
Requires-Dist: python-dotenv>=1.2.2
Requires-Dist: reportlab>=4.4.4
Requires-Dist: segno>=1.6.6
Requires-Dist: scipy>=1.15.3
Requires-Dist: SQLAlchemy>=2.0.41
Requires-Dist: starlette>=1.0.1
Requires-Dist: termcolor>=2.4.0
Requires-Dist: tenacity>=9.1.2
Requires-Dist: tinytag>=2.2.1
Requires-Dist: tqdm>=4.67.1
Requires-Dist: transformers>=5.0.0rc3
Requires-Dist: treelib>=1.7.1
Requires-Dist: uvicorn[standard]>=0.32.0
Requires-Dist: websockets>=14.0
Requires-Dist: build>=1.5.0
Provides-Extra: huggingface
Requires-Dist: torch>=2.7.0; extra == "huggingface"
Provides-Extra: gcg
Requires-Dist: accelerate>=1.7.0; extra == "gcg"
Requires-Dist: azure-ai-ml>=1.32.0; extra == "gcg"
Requires-Dist: pyarrow>=22.0.0; python_version >= "3.14" and extra == "gcg"
Requires-Dist: sentencepiece>=0.2.0; extra == "gcg"
Requires-Dist: torch>=2.7.0; extra == "gcg"
Provides-Extra: playwright
Requires-Dist: flask>=3.1.3; extra == "playwright"
Requires-Dist: ollama>=0.5.1; extra == "playwright"
Requires-Dist: playwright>=1.49.0; extra == "playwright"
Provides-Extra: fairness-bias
Requires-Dist: spacy!=3.8.14,>=3.8.13; extra == "fairness-bias"
Provides-Extra: opencv
Requires-Dist: opencv-python>=4.11.0.86; extra == "opencv"
Provides-Extra: speech
Requires-Dist: azure-cognitiveservices-speech>=1.44.0; extra == "speech"
Provides-Extra: all
Requires-Dist: accelerate>=1.7.0; extra == "all"
Requires-Dist: azure-ai-ml>=1.32.0; extra == "all"
Requires-Dist: azure-cognitiveservices-speech>=1.44.0; extra == "all"
Requires-Dist: flask>=3.1.3; extra == "all"
Requires-Dist: ipykernel>=6.29.5; extra == "all"
Requires-Dist: jupyter>=1.1.1; extra == "all"
Requires-Dist: ollama>=0.5.1; extra == "all"
Requires-Dist: opencv-python>=4.11.0.86; extra == "all"
Requires-Dist: playwright>=1.49.0; extra == "all"
Requires-Dist: pyarrow>=22.0.0; python_version >= "3.14" and extra == "all"
Requires-Dist: spacy!=3.8.14,>=3.8.13; extra == "all"
Requires-Dist: torch>=2.7.0; extra == "all"
Dynamic: license-file

<p align="center"><img src="https://raw.githubusercontent.com/microsoft/PyRIT/releases/v0.14.0/doc/roakey.png" width="150"></p>

# Python Risk Identification Tool for generative AI (PyRIT)

The Python Risk Identification Tool for generative AI (PyRIT) is an open source
framework built to empower security professionals and engineers to proactively
identify risks in generative AI systems.

- Check out our [website](https://microsoft.github.io/PyRIT/) for more information
  about how to use, install, or contribute to PyRIT.
- Visit our [Discord server](https://discord.gg/9fMpq3tc8u) to chat with the team and community.

## Trademarks and Citations

This project may contain trademarks or logos for projects, products, or services.
Authorized use of Microsoft trademarks or logos is subject to and must follow
[Microsoft's Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general).
Use of Microsoft trademarks or logos in modified versions of this project must
not cause confusion or imply Microsoft sponsorship.
Any use of third-party trademarks or logos are subject to those third-party's
policies.

If you use PyRIT in your research, please cite the tool itself following the [`CITATION.cff`](https://raw.githubusercontent.com/microsoft/PyRIT/releases/v0.14.0/CITATION.cff) file in the root of this repository.
