Skip to main content

jharness-models

OpenAI Chat Completions and Anthropic Messages adapters, DeepSeek profiles, and provider-neutral model composition for the JHarness kernel.

uv add jharness-models
from jharness.models.openai import OpenAIChatCompletionsModel

Retry and fallback compose directly around model values:

from jharness.models.decorators import FallbackModel, RetryingModel

model = FallbackModel(
    RetryingModel(primary_model, max_attempts=3),
    RetryingModel(backup_model, max_attempts=2),
)

Installing this distribution installs the exact matching jharness-kernel version. Provider configuration and composition details are in the model adapter guide.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jharness_models-0.4.0.tar.gz (32.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jharness_models-0.4.0-py3-none-any.whl (45.6 kB view details)

Uploaded Python 3

File details

Details for the file jharness_models-0.4.0.tar.gz.

File metadata

  • Download URL: jharness_models-0.4.0.tar.gz
  • Upload date:
  • Size: 32.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for jharness_models-0.4.0.tar.gz
Algorithm Hash digest
SHA256 383bc2b80d1c73ab2b513d03843b1f6f3d22f9b63a136610be0aab15cc3c6592
MD5 47c9448cae708fcf7c3694eea9e30ff5
BLAKE2b-256 86c9ac645c0743f5d7e585d56f5fee3431e0c33296d4bfc867e56ed777bc5c8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for jharness_models-0.4.0.tar.gz:

Publisher: release.yml on Ezio2000/jharness

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file jharness_models-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: jharness_models-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 45.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for jharness_models-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c41a76016ff9e80a03ac60a8fe1d25bce4e452d02f51993acd47e45c68be3c4
MD5 962ccbfcba475e6be5daea1eaef98181
BLAKE2b-256 f674383eece67e113eb9071066567babdf4f715e31820c27f9078552ab0ad5c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for jharness_models-0.4.0-py3-none-any.whl:

Publisher: release.yml on Ezio2000/jharness

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.9.0

2 files

0.8.0

2 files

0.7.0

2 files

0.6.1

2 files

0.6.0

2 files

0.5.0

2 files

This release

0.4.0 This release

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.2

2 files

0.2.1

2 files

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