Skip to main content

zettcode-models

A ZettCode plugin that offers the vendors' current official models for each vendor whose API key is in the environment: OpenAI, Anthropic, DeepSeek, Z.AI and Moonshot.

Install it as an extra:

pip install "zettcode[models]"

With OPENAI_API_KEY, ANTHROPIC_API_KEY, DEEPSEEK_API_KEY, ZAI_API_KEY or MOONSHOT_API_KEY set (ZHIPUAI_API_KEY and ZHIPU_API_KEY are accepted aliases), the plugin registers that host with its official models: GPT-6.2 Astra and GPT-6.2 Sol for OpenAI; Claude Opus 5.5 and Claude Sonnet 5.5 for Anthropic; DeepSeek V4.1 Flash and DeepSeek V4 Pro for DeepSeek; GLM-5.3 for Z.AI; Kimi K3.1 Pro and Kimi K3 for Moonshot, through its Anthropic-compatible endpoint. The models appear in /model with from the openai plugin (or anthropic, deepseek, zai, moonshot); their tokens are read from the environment and never written to config.toml.

The list is static and no endpoint is called at start. The plugin is on by default: a key in the environment is enough, and a machine whose own configuration lists no model starts on the first one the plugin offers. [plugins] disable = ["models"] leaves it out, and a vendor is skipped rather than failing the plugin when your entries already show one of its models. A name an earlier plugin has taken is caught when the loader merges, so it refuses the whole plugin, as for any plugin that overlaps another.

Metadata

Release files for zettcode-models 0.5.3

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

Source distribution (sdist)

Source distribution for zettcode-models 0.5.3
File Size Uploaded Provenance Actions
zettcode_models-0.5.3.tar.gz 7.5 kB Without provenance Details for zettcode_models-0.5.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for zettcode-models 0.5.3
File Interpreter ABI Platform Actions
zettcode_models-0.5.3-py3-none-any.whl Python 3 none any Details for zettcode_models-0.5.3-py3-none-any.whl

Total release size: 13.8 kB

Release files / zettcode_models-0.5.3.tar.gz

Download URL zettcode_models-0.5.3.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d794febfd8c8b1b7d1e9e9f89f443d8ad0c8e3c70c65fb0e7a54229df97ed63e
BLAKE2b-256 checksum
How to use checksums
b0f21b4c3cb7efd2b5fa42673f3bf9f1eff415d12f3a83a936034f10f708fdeb
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 / zettcode_models-0.5.3-py3-none-any.whl

Download URL zettcode_models-0.5.3-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e290ec682b1c6d35c82c7f43de272e403ee8f28ca3be89af3afae9a03340a175
BLAKE2b-256 checksum
How to use checksums
de36e09bce928ed3b51d3f847259f277693fee770cdbd3210a8024d8bd5860e3
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 zettcode-models 0.5.3

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