Skip to main content

PyRIT - SQLAlchemy 1.4 Compatible Version

This is a modified version of PyRIT (Python Risk Identification Tool for LLMs) 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

pip install pyrit-sqlalchemy14

Or with Poetry:

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 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

Metadata

Release files for pyrit-sqlalchemy14 0.9.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyrit-sqlalchemy14 0.9.12
File Size Uploaded Provenance Actions
pyrit_sqlalchemy14-0.9.12.tar.gz 1.1 MB Without provenance Details for pyrit_sqlalchemy14-0.9.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyrit-sqlalchemy14 0.9.12
File Interpreter ABI Platform Actions
pyrit_sqlalchemy14-0.9.12-py3-none-any.whl Python 3 none any Details for pyrit_sqlalchemy14-0.9.12-py3-none-any.whl

Total release size: 2.5 MB

Release files / pyrit_sqlalchemy14-0.9.12.tar.gz

Download URL pyrit_sqlalchemy14-0.9.12.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
1d8e32789b023d3f2c36d5dae992c66821860fce566f030baa81fcc60bbc1c73
BLAKE2b-256 checksum
How to use checksums
53baed41039b4471b98e56224b6c8455acc9b7f1bb489edafd9119f1a01de427
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.13 Darwin/24.3.0

Release files / pyrit_sqlalchemy14-0.9.12-py3-none-any.whl

Download URL pyrit_sqlalchemy14-0.9.12-py3-none-any.whl
Size 1.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
039194c9ade90dcb12d31cb53c011f35c41e8daee79e69a23eb37af4000fd6ff
BLAKE2b-256 checksum
How to use checksums
e92c4f15f3b8eb4818de9b3726ccdd19e29e0df576f0d73f71fa2ab66e927bea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.13 Darwin/24.3.0

Security for pyrit-sqlalchemy14 0.9.12

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page