Skip to main content

zettcode-models

A ZettCode plugin that offers an official model for each vendor whose API key is in the environment: OpenAI, Anthropic, DeepSeek and Z.AI.

Install it as an extra and enable it once:

pip install "zettcode[models]"
[plugins]
enable = ["models"]

With OPENAI_API_KEY, ANTHROPIC_API_KEY, DEEPSEEK_API_KEY or ZAI_API_KEY set (ZHIPUAI_API_KEY and ZHIPU_API_KEY are accepted aliases), the plugin registers that host with its current official model — GPT-6.1 Sol, Claude Opus 5.5, DeepSeek V4.1 Flash or GLM-5.3. The model appears in /model with from the openai plugin (or anthropic, deepseek, zai); its token is read from the environment and never written to config.toml.

The list is static and no endpoint is called at start. The plugin is off by default: a set of ambient keys should not change a model list unless the reader asks it to.

Metadata

Release files for zettcode-models 0.4.7

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.4.7
File Size Uploaded Provenance Actions
zettcode_models-0.4.7.tar.gz 5.9 kB Without provenance Details for zettcode_models-0.4.7.tar.gz

Built distribution (wheel)

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

Total release size: 10.9 kB

Release files / zettcode_models-0.4.7.tar.gz

Download URL zettcode_models-0.4.7.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
047c1b7b76b37b428c9e0f57803922a65380380b35b2c5720683267e4cb756fa
BLAKE2b-256 checksum
How to use checksums
41fb826843e8d2c728c9c105d323c56423303e13ffa97e8ece408f24244d4aa2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","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.4.7-py3-none-any.whl

Download URL zettcode_models-0.4.7-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
561f64615f720f4d03145d097fd94e151f46332da364f1c27aef127db1cdeb3d
BLAKE2b-256 checksum
How to use checksums
0570d928acb2ef0618fbd14787e957e0f60ab3b7c0ad5afd9a43e33a5f144692
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","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.4.7

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