modelchoice
modelchoice is a small, UI-independent Python library for discovering model
providers and producing stable picker rows. It is shared by Fash, Clash, and
other local AI clients without importing any of their application code.
from modelchoice import HuggingFaceSource, ModelCatalog
catalog = ModelCatalog()
quick_rows = catalog.quick_options() # no subprocesses or network calls
all_local_rows = catalog.initial_options() # includes installed CLI listings
router_rows = catalog.search_openrouter("coder")
hub = ModelCatalog([HuggingFaceSource()])
hub_rows = hub.search_huggingface("qwen coder")
Every source implements the ModelSource protocol and returns immutable
ModelOption and ProviderMetadata values. Built-in sources cover Claude
Code, Codex, Agy, Cursor, OpenRouter, OpenAI-compatible APIs, local servers,
and Hugging Face Hub discovery.
Credential metadata contains environment-variable names only. API keys, tokens, and other credential values are never stored in catalog rows or cache files. Applications remain responsible for passing credentials directly to their selected runtime backend.
Metadata
Release files for modelchoice 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| modelchoice-0.1.0.tar.gz | 12.2 kB | With provenance | Details for modelchoice-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| modelchoice-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for modelchoice-0.1.0-py3-none-any.whl |
Total release size: 27.7 kB
Release files / modelchoice-0.1.0.tar.gz
| Download URL | modelchoice-0.1.0.tar.gz |
|---|---|
| Size | 12.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
19a0292c21a97f264b2344ab0563560c2cd9fa90f96e656116d99c673d2797d7
|
|
BLAKE2b-256 checksum How to use checksums |
0c695c55206821d33987d02a1213ddc59c6560c3d67f550685c4fe41becea1b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 22, 2026.
Transparency logRelease files / modelchoice-0.1.0-py3-none-any.whl
| Download URL | modelchoice-0.1.0-py3-none-any.whl |
|---|---|
| Size | 15.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7aebad04e2698c102891245953265a07e848c2a90f3080e7742cc3ae666bddee
|
|
BLAKE2b-256 checksum How to use checksums |
f099d9a569662652a3d4670899780956524040d5553cec9176939cd7807118cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 22, 2026.
Transparency logSecurity for modelchoice 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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for modelchoice-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 22, 2026.
Transparency logA 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.