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

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

Built distribution (wheel)

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

Total release size: 13.8 kB

Release files / zettcode_models-0.5.4.tar.gz

Download URL zettcode_models-0.5.4.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e756299746222f6b2eb67170583ff9c98b5d4926422430cd9be693057687857e
BLAKE2b-256 checksum
How to use checksums
974d2f2626aa159ecc6630358fdde154328059c73f3f83497d4d621f240c1d06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.12 {"installer":{"name":"uv","version":"0.13.12","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.4-py3-none-any.whl

Download URL zettcode_models-0.5.4-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d5889817697fa4061948ebdc0aa1256f878a03097b31bc7063f1cc44bba30ec
BLAKE2b-256 checksum
How to use checksums
4b4a71133917b4935c256baeee6dd925810ff17c11680d733c9c3ace904f5062
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.12 {"installer":{"name":"uv","version":"0.13.12","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.4

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