Skip to main content

pentestllm-sdk

Typed Python SDK for PentestLLM. No dependencies.

from pentestllm_sdk import PentestLLM, estimate_cost

client = PentestLLM()  # reads PENTESTLLM_API_KEY
r = client.chat.completions.create(model="abliterated-model", messages=[{"role": "user", "content": "hi"}])
print(estimate_cost(r))

Model list and prices: https://pentestllm.ai/models

Metadata

Release files for pentestllm-sdk 0.1.1

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

Source distribution (sdist)

Source distribution for pentestllm-sdk 0.1.1
File Size Uploaded Provenance Actions
pentestllm_sdk-0.1.1.tar.gz 22.8 kB Without provenance Details for pentestllm_sdk-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pentestllm-sdk 0.1.1
File Interpreter ABI Platform Actions
pentestllm_sdk-0.1.1-py3-none-any.whl Python 3 none any Details for pentestllm_sdk-0.1.1-py3-none-any.whl

Total release size: 46.6 kB

Release files / pentestllm_sdk-0.1.1.tar.gz

Download URL pentestllm_sdk-0.1.1.tar.gz
Size 22.8 kB
Tags Source
SHA-256 checksum
How to use checksums
49630c272aff2041487413f7e027bf31c07df90401d8ece8a87308473333a842
BLAKE2b-256 checksum
How to use checksums
d9a0f9ba2edccec89335f3bcdbecf1caa0c922cba45e7d8c2f90be5e8d0bcb9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / pentestllm_sdk-0.1.1-py3-none-any.whl

Download URL pentestllm_sdk-0.1.1-py3-none-any.whl
Size 23.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
71cc418984967212618f825d6dbe71d981c79ef12137d5079dbb3346ed161c4e
BLAKE2b-256 checksum
How to use checksums
94fbdced7b201f2fdb6bd59c32b17984b7d85b6454f4425bb7f3839e0168c9b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for pentestllm-sdk 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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