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

Built distribution (wheel)

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

Total release size: 10.9 kB

Release files / zettcode_models-0.1.0.tar.gz

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

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