Skip to main content

Super Durable LLM Python connector

dex-connector-superdurable-llm exposes the provider-neutral generateText Dex Query for OpenAI, Claude, Gemini, Qwen, DeepSeek, Meta, Mistral, Kimi, xAI, OpenAI-compatible gateways on Chat Completions or the Responses API (openai_compatible_api), and Anthropic-compatible Messages gateways, and validates models and model_context_window_tokens as the Go connector does. Its public request and response types reuse the released Connector SDK text generation contract. The connection's provider chooses the HTTP dialect and model default. See the connector README for provider keys, regions, model selection, and every connection field.

Install from this directory with uv sync --locked. The package pins dex-connectors-sdk==0.3.0. new_project_connection reads the static connection name from the Dex project and resolves the API key at each call. The key stays out of Flow input and persistence.

The runnable summary example includes a Worker, Client start command, sample input, and a real Dex integration test. Only generated is wired. truncated, blocked, providerRejected, invalidResponse, and defect fail the Flow if selected. Safe transport, rate-limit, and provider availability failures retry under the manifest's three-attempt, one-hour billed-operation budget.

For an OpenAI-compatible gateway, a public HTTPS base URL uses the SDK's publicHTTPS address policy. Only a loopback IP literal or localhost uses an unrestricted transport; localhost must resolve exclusively to loopback addresses before a credentialed request. Literal private, shared, link-local, and other non-public IP hosts fail at construction. Local gateway requests use the same 870-second exchange limit as other providers. The connector never rewrites the configured URL. Python's Dex JSON codec cannot preserve Decimal or raw JSON number precision; requests containing those values fail terminally before a provider call.

Run package verification with:

uv run pytest -q tests
uv run ruff check src/dex_connectors/superdurable_llm/*.py tests/*.py examples/summarize_text/*.py
uv run mypy src/dex_connectors/superdurable_llm

The Go-recorded HTTP scenarios in conformance/connectors/superdurable/llm/scenarios.json replay in tests/test_conformance.py. Provider replay and the local Dex test do not establish live authorization or output behavior for a real provider.

Metadata

Release files for dex-connector-superdurable-llm 0.2.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 dex-connector-superdurable-llm 0.2.0
File Size Uploaded Provenance Actions
dex_connector_superdurable_llm-0.2.0.tar.gz 85.6 kB Without provenance Details for dex_connector_superdurable_llm-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dex-connector-superdurable-llm 0.2.0
File Interpreter ABI Platform Actions
dex_connector_superdurable_llm-0.2.0-py3-none-any.whl Python 3 none any Details for dex_connector_superdurable_llm-0.2.0-py3-none-any.whl

Total release size: 117.0 kB

Release files / dex_connector_superdurable_llm-0.2.0.tar.gz

Download URL dex_connector_superdurable_llm-0.2.0.tar.gz
Size 85.6 kB
Tags Source
SHA-256 checksum
How to use checksums
dd16dc257caf99e745d45322b5766f12d31ead7944cf8bf310d264952ffb452f
BLAKE2b-256 checksum
How to use checksums
da44df4bbd385fd04093dd4236278a2eb9359a1cea05a2a712cead778e3b0f53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / dex_connector_superdurable_llm-0.2.0-py3-none-any.whl

Download URL dex_connector_superdurable_llm-0.2.0-py3-none-any.whl
Size 31.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
90f03b2e0a7c79c033517de25835f4453a88693a9c8f885167b3394957f3430a
BLAKE2b-256 checksum
How to use checksums
92bdd7a5823111df093c43f9114276631769532d7aeb4d3d85b9cc562e88f628
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for dex-connector-superdurable-llm 0.2.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.2.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