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

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.2
File Size Uploaded Provenance Actions
zettcode_models-0.5.2.tar.gz 7.5 kB Without provenance Details for zettcode_models-0.5.2.tar.gz

Built distribution (wheel)

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

Total release size: 13.8 kB

Release files / zettcode_models-0.5.2.tar.gz

Download URL zettcode_models-0.5.2.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d8923eeeb00138eae994f244d5f8b3f7722508c5eed8bad97c4bb25a920e8132
BLAKE2b-256 checksum
How to use checksums
6209fb96a4861297bab82fe7a6b2053cd49e19ace34a3b157db00d3be9231b0c
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.2-py3-none-any.whl

Download URL zettcode_models-0.5.2-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bbe04eabd132775f01dc9d4af692e0ab606d03d5df0369e1c8f79412d3ce93f1
BLAKE2b-256 checksum
How to use checksums
5d998758898f614d289242a0b812f936f5dc6c26e7de927c12c221520bab5789
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.2

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