bydtech-model-retire
Find deprecated, retiring and retired LLM model IDs in a codebase before a provider shuts them off.
This is the Python package. The same tool is published to npm as
@bydtech/model-retire; both
implementations ship the same dataset and produce identical output. The full documentation is in
the repository README.
Install
pip install bydtech-model-retire
Python 3.9 or later. No runtime dependencies.
Quick start
model-retire . # scan the current directory
model-retire src --format json # machine-readable output
model-retire list --provider openai # print the dataset for one provider
python -m model_retire works too.
Each hit is reported with file and line, the model, its status, the shutdown date, days remaining, the provider's recommended replacement and the official page the date came from. The exit code is 0 when nothing is at error level, 1 when something is, 2 for a usage error.
API
from model_retire import scan, format_text
result = scan(["src"], warn_days=60)
print(format_text(result), end="")
if result["summary"]["errors"]:
raise SystemExit(1)
scan() takes paths, cwd, today, warn_days, warn_only, ignore, include,
gitignore, include_lockfiles, dataset and max_bytes, and returns a dict with the same keys
as the JSON output (version, today, warn_days, warn_only, files_scanned, summary,
findings). Also exported: default_dataset, load_dataset_file, merge_datasets,
validate_dataset, create_matcher, assess, format_text, format_json, format_github,
format_list, walk_files and UsageError.
The data
Dates come from providers and can change; check the source link on each finding. Every entry in the dataset was read from the provider's own deprecation or lifecycle page and carries that page's URL. Corrections are welcome as issues or pull requests with the official source URL.
License
MIT. Maintained by BYD Tech, a software studio that builds MVPs, AI agents, and web & mobile apps.
Metadata
Release files for bydtech-model-retire 0.1.1
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 | |
|---|---|---|---|---|
| bydtech_model_retire-0.1.1.tar.gz | 24.2 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bydtech_model_retire-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 47.4 kB
Release files / bydtech_model_retire-0.1.1.tar.gz
| Download URL | bydtech_model_retire-0.1.1.tar.gz |
|---|---|
| Size | 24.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8b51514bd730c2e0074749ebaa7a1e854c848ba24c36f70d6e75d9f7f5327066
|
|
BLAKE2b-256 checksum How to use checksums |
2415eb5c51a9d2419f0d5a42e75bec2a02bfbc017aa22484bf2d69e60d2e15d5
|
| 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 Oct 15, 2026.
Transparency logRelease files / bydtech_model_retire-0.1.1-py3-none-any.whl
| Download URL | bydtech_model_retire-0.1.1-py3-none-any.whl |
|---|---|
| Size | 23.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bd5aff972ba2b65717526eb78187ff03c2e1eef9ee51155ea1303b6b8b77b25a
|
|
BLAKE2b-256 checksum How to use checksums |
adfef87f49999b82a4f7b02610d8373bda5e8a497437e5c98b325530d0afcfb9
|
| 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 Oct 15, 2026.
Transparency logSecurity for bydtech-model-retire 0.1.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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for bydtech_model_retire-0.1.1.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 Oct 15, 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.