modelsdotdev-python
An offline models.dev database bundle exposed as a Python module.
from modelsdotdev import get_model_by_id, get_provider_by_name
provider = get_provider_by_name("OpenAI")
model = get_model_by_id("openai:gpt-5.5")
if provider is not None:
provider_model = provider.get_model_by_id("gpt-5.5")
provider_models = list(provider.iter_models())
Development
Install dependencies and run the test suite with uv:
uv run pytest
Running the test suite refreshes the database used by tests. Editable installs
refresh the in-tree SQLite database; other installs use a temporary database
path exposed through MODELDOTDEV_DATABASE_PATH. You can also refresh the
in-tree database explicitly with the Poe task:
uv run poe generate-db
Source checkouts do not generate the database during normal imports or editable installs. Distribution builds generate it automatically if it is missing so published artifacts remain self-contained.
License
This project is licensed under the MIT License. See LICENSE for details.
Metadata
Release files for modelsdotdev 0.20260818.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 |
|---|---|---|---|---|
| modelsdotdev-0.20260818.0.tar.gz | 1.1 MB | Without provenance | Details for modelsdotdev-0.20260818.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| modelsdotdev-0.20260818.0-py3-none-any.whl | Python 3 | none | any | Details for modelsdotdev-0.20260818.0-py3-none-any.whl |
Total release size: 2.2 MB
Release files / modelsdotdev-0.20260818.0.tar.gz
| Download URL | modelsdotdev-0.20260818.0.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
375e6793dc5bc731075e7631ee32b7d0a3be6a4a6cade3e3d417664dae40d8fd
|
|
BLAKE2b-256 checksum How to use checksums |
1734e5d0b54bf967bee3e37cb7d8261143670a79603f6e770fb8a68d8ffcd17a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / modelsdotdev-0.20260818.0-py3-none-any.whl
| Download URL | modelsdotdev-0.20260818.0-py3-none-any.whl |
|---|---|
| Size | 1.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd55b13bfd029e2a8345f7326e4239dcb8b972d2bbd174f422aa0ca59da1ad9c
|
|
BLAKE2b-256 checksum How to use checksums |
6f92242f3c5a20d64e964895a02fe5c86ae66ed09e6317be600c67012bc1addc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for modelsdotdev 0.20260818.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.