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

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

Built distribution (wheel)

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

Total release size: 10.9 kB

Release files / zettcode_models-0.4.6.tar.gz

Download URL zettcode_models-0.4.6.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7219e349ae4262ad9456bc9f49b2b296de8911eecd5f18a81e8dc268744d8d81
BLAKE2b-256 checksum
How to use checksums
5138c2c258f0ea3922e8c041d474de7c0dadd7611c2628f8e44a32665f6b7b6d
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.6-py3-none-any.whl

Download URL zettcode_models-0.4.6-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41210b04756c65378d9a9652a172f372c83e11457df85839099280c3a0d31311
BLAKE2b-256 checksum
How to use checksums
44077f768ee58966903ee9328822a90ec6daa27d52b0d6a5b16036b04f3c0f5a
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.6

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