Metadata-Version: 2.4
Name: pyrit-sqlalchemy2
Version: 0.1.0
Summary: SQLAlchemy 2 compatible version of PyRIT (Python Risk Identification Tool for LLMs)
License: MIT
License-File: LICENSE
License-File: NOTICE.txt
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.3.2)
Requires-Dist: duckdb-engine (==0.17.0)
Requires-Dist: fpdf2 (>=2.8.2)
Requires-Dist: httpx[http2] (>=0.27.0)
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 (==2.13.5)
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 (>=2.0.6,<3.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 2.x Compatible Version

This project is a modified version of [PyRIT (Python Risk Identification Tool for LLMs)](https://github.com/Azure/PyRIT) updated to work with SQLAlchemy 2.x releases, including 2.0.x and newer.

## Overview

PyRIT is a library used to assess the robustness of Large Language Models (LLMs). This fork maintains the functionality of the original PyRIT while ensuring compatibility with modern SQLAlchemy 2.x environments.

## Key Updates

- Updated ORM models to be compatible with SQLAlchemy 2.x
- Replaced deprecated SQLAlchemy 1.4-style imports and relationship patterns
- Updated model declaration patterns for SQLAlchemy 2.x
- Kept compatibility with current Pydantic-based model usage

## Installation

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

Or with Poetry:

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

## Requirements

- Python 3.10 or higher
- SQLAlchemy 2.0.6 or newer
- Pydantic 2.x

## 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 2.x compatible version is maintained independently

