Metadata-Version: 2.1
Name: pyrit-sqlalchemy14
Version: 0.9.1.dev0
Summary: SQLAlchemy 1.4 compatible version of PyRIT (Python Risk Identification Tool for LLMs)
License: MIT
Keywords: llm,ai-safety,ai-security,ai-red-team,ai-red-teaming,ai-robustness,ai-robustness-testing,ai-risk-assessment
Author: Microsoft AI Red Team
Author-email: airedteam@microsoft.com
Requires-Python: >=3.10,<3.14
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: aioconsole (>=0.7.1)
Requires-Dist: aiofiles (==23.2.1)
Requires-Dist: appdirs (>=1.4.0)
Requires-Dist: art (>=6.1.0)
Requires-Dist: azure-ai-contentsafety (>=1.0.0)
Requires-Dist: azure-core (>=1.26.1)
Requires-Dist: azure-identity (>=1.19.0)
Requires-Dist: azure-storage-blob (>=12.19.0)
Requires-Dist: colorama (>=0.4.6)
Requires-Dist: confusable-homoglyphs (>=3.3.1)
Requires-Dist: confusables (>=1.2.0)
Requires-Dist: datasets (>=3.0.0)
Requires-Dist: duckdb (>=1.1.0)
Requires-Dist: duckdb-engine (>=0.15.0)
Requires-Dist: fpdf2 (>=2.8.2)
Requires-Dist: httpx[http2] (>=0.27.2)
Requires-Dist: jinja2 (>=3.1.4)
Requires-Dist: numpy (>=1.26.4)
Requires-Dist: openai (>=1.58.1)
Requires-Dist: pillow (>=10.3.0)
Requires-Dist: pycountry (>=24.6.1)
Requires-Dist: pydantic (>=1.5.1,<2.0.0)
Requires-Dist: pydantic-sqlalchemy (>=0.0.9)
Requires-Dist: pyodbc (>=5.1.0)
Requires-Dist: pypdf (>=5.1.0)
Requires-Dist: python-dotenv (>=1.0.1)
Requires-Dist: scipy (>=1.14.1)
Requires-Dist: segno (>=1.6.1)
Requires-Dist: sqlalchemy (>=1.4.47,<2.0.0)
Requires-Dist: tenacity (>=8.2.3)
Requires-Dist: termcolor (>=2.4.0)
Requires-Dist: tinytag (>=2.0.0)
Requires-Dist: tqdm (>=4.66.2)
Requires-Dist: transformers (>=4.40.0)
Requires-Dist: treelib (>=1.7.0)
Requires-Dist: websockets (>=12.0)
Description-Content-Type: text/markdown

# PyRIT - SQLAlchemy 1.4 Compatible Version

This is a modified version of [PyRIT (Python Risk Identification Tool for LLMs)](https://github.com/Azure/PyRIT) that has been patched to work with SQLAlchemy 1.4.47 instead of SQLAlchemy 2.0+.

## Overview

PyRIT is a library used to assess the robustness of Large Language Models (LLMs). This fork maintains all the functionality of the original PyRIT but makes it compatible with environments that require SQLAlchemy 1.4.x.

## Key Modifications

- Modified database models to work with SQLAlchemy 1.4.47
- Added custom UUID type implementation for SQLAlchemy 1.4
- Replaced SQLAlchemy 2.0-specific features with 1.4-compatible alternatives
- Added compatibility with pydantic-sqlalchemy 0.0.9

## Installation

```bash
pip install pyrit-sqlalchemy14
```

Or with Poetry:

```bash
poetry add pyrit-sqlalchemy14
```

## Requirements

- Python 3.10 or higher
- SQLAlchemy 1.4.47 (not compatible with SQLAlchemy 2.0+)
- pydantic-sqlalchemy 0.0.9

## Usage

The usage is identical to the original PyRIT library. Please refer to the [official PyRIT documentation](https://github.com/Azure/PyRIT) for details.

## License

This project is licensed under the MIT License - see the LICENSE file for details.

## Acknowledgments

- Original PyRIT developed by Microsoft AI Red Team
- This SQLAlchemy 1.4 compatible version is maintained independently

