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), r["_uplink"]["charge_usd"])

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

Metadata

Release files for pentestllm-sdk 0.1.0

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.0
File Size Uploaded Provenance Actions
pentestllm_sdk-0.1.0.tar.gz 22.8 kB Without provenance Details for pentestllm_sdk-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 46.7 kB

Release files / pentestllm_sdk-0.1.0.tar.gz

Download URL pentestllm_sdk-0.1.0.tar.gz
Size 22.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e5e570601fb226191b985740d0a754049608f9e8038d698207676accd5f63242
BLAKE2b-256 checksum
How to use checksums
f33a72d74b498242c61767a984a4e4ff6c30805107faae8ca4303db6e9d73fc8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

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

Download URL pentestllm_sdk-0.1.0-py3-none-any.whl
Size 23.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ac89c291dad693b54a9276472850d5fa659c85eac4191e18e017dca0fad0c96
BLAKE2b-256 checksum
How to use checksums
91a180c27cf1a6b63217e05d347d246f5567d61e2f960e19a33c88a84d463c04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for pentestllm-sdk 0.1.0

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