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

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.0
File Size Uploaded Provenance Actions
zettcode_models-0.5.0.tar.gz 6.2 kB Without provenance Details for zettcode_models-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 11.3 kB

Release files / zettcode_models-0.5.0.tar.gz

Download URL zettcode_models-0.5.0.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
47b05f5994426d3b0b6fab5268b956500fe0fc05ad2be0b92530cc4a76824533
BLAKE2b-256 checksum
How to use checksums
84e4e8ede567290bc3eb012c1b4f5729638bb7b507715d26d366294382a9aa26
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.5.0-py3-none-any.whl

Download URL zettcode_models-0.5.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c33e468f1cd98d625ce62819f78a068c6fa59ed533c9b2f126c80d2711d25851
BLAKE2b-256 checksum
How to use checksums
eeb69508873f24ae59c5fcc0a9e497e5deabe9e09f3508b65f09f369b233f020
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.5.0

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