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:

pip install "zettcode[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 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 whose host or shown name the reader's own entries already use is skipped rather than failing the plugin.

Metadata

Release files for zettcode-models 0.5.1

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

Built distribution (wheel)

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

Total release size: 11.7 kB

Release files / zettcode_models-0.5.1.tar.gz

Download URL zettcode_models-0.5.1.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d68ae640e084e251ab782ee16751b14b69c3839b75d06439db24d6aa3b740c30
BLAKE2b-256 checksum
How to use checksums
426fc9b95fd2e0549ca8359d89837a7613fdaf937e0fd234ac11993e3c6e462a
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.1-py3-none-any.whl

Download URL zettcode_models-0.5.1-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d18152fce0c109ec4c0f1f447542f0082bb2cba0f5a33c8389b370d6ebefa961
BLAKE2b-256 checksum
How to use checksums
0a05d831d042949c8b62090537974870cbcfe4dea52d6ae4eaa3c27e4718b79b
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.1

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