Swapcheck for Python
Know when your hosted LLM model is changing, find what to move to, and prove the move on your own cases.
pip install swapcheck
swapcheck
From Python:
import swapcheck
exposure = swapcheck.scan(".")
changes = swapcheck.watch(".", fail_within_days=30)
options = swapcheck.find("gpt-4o", path=".")
report = swapcheck.test(["gpt-5"], path=".", from_model="gpt-4o", max_usd=5, yes=True)
Each function returns the JSON the swapcheck command prints with --format json. test spends money and sends your cases to the model vendors, so it refuses to run without yes=True.
Wheels hold a compiled binary for Linux x64, Linux arm64, macOS arm64 and Windows x64. Source: https://github.com/allthingsN/swapcheck
Metadata
Release files for swapcheck 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| swapcheck-0.1.2-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for swapcheck-0.1.2-py3-none-win_amd64.whl |
| swapcheck-0.1.2-py3-none-manylinux_2_28_x86_64.whl | Python 3 | none | Linux glibc 2.28+ x86-64 | Details for swapcheck-0.1.2-py3-none-manylinux_2_28_x86_64.whl |
| swapcheck-0.1.2-py3-none-manylinux_2_28_aarch64.whl | Python 3 | none | Linux glibc 2.28+ ARM64 | Details for swapcheck-0.1.2-py3-none-manylinux_2_28_aarch64.whl |
| swapcheck-0.1.2-py3-none-macosx_13_0_arm64.whl | Python 3 | none | macOS 13.0+ ARM64 | Details for swapcheck-0.1.2-py3-none-macosx_13_0_arm64.whl |
Total release size: 160.2 MB
Release files / swapcheck-0.1.2-py3-none-win_amd64.whl
| Download URL | swapcheck-0.1.2-py3-none-win_amd64.whl |
|---|---|
| Size | 44.8 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9b1b167182948654dbe10b61f4df657cf736cd240f8351d1ccdad6126a5ac697
|
|
BLAKE2b-256 checksum How to use checksums |
6fcae5fd0cfb18f7edc7b23a7772acc1affeaa652236c1e6093f9446dabb039e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 11, 2026.
Transparency logRelease files / swapcheck-0.1.2-py3-none-manylinux_2_28_x86_64.whl
| Download URL | swapcheck-0.1.2-py3-none-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 42.2 MB |
| Tags | Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
c2330e97d27c65633949a87eac7021febda6151dbac6e567b264d743889455d8
|
|
BLAKE2b-256 checksum How to use checksums |
5601dc25e6623985982052a07f95b6da9d22e2033a3eaf5a86ecaf3b7d1d95a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 11, 2026.
Transparency logRelease files / swapcheck-0.1.2-py3-none-manylinux_2_28_aarch64.whl
| Download URL | swapcheck-0.1.2-py3-none-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 42.0 MB |
| Tags | Linux glibc 2.28+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
17f8df7c734ce54944eb738d199809264b241161394d579778023f40a663f683
|
|
BLAKE2b-256 checksum How to use checksums |
4b7b36beeac3ab8295849c5b57f1eb33cbf8cb7fce7a65ec1e96201174702d89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 11, 2026.
Transparency logRelease files / swapcheck-0.1.2-py3-none-macosx_13_0_arm64.whl
| Download URL | swapcheck-0.1.2-py3-none-macosx_13_0_arm64.whl |
|---|---|
| Size | 31.1 MB |
| Tags | Python 3 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
97373c84e07b421ea841f50d110cebda8b1f07698a5f4457f36aa14df42a242d
|
|
BLAKE2b-256 checksum How to use checksums |
3f271251ab701f66148e1f2701ced42c7ab4aa7a0debafdbf3553f77df5ff452
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 11, 2026.
Transparency logSecurity for swapcheck 0.1.2
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 4 files in this release have been uploaded with provenance metadata.
Attestation for swapcheck-0.1.2-py3-none-win_amd64.whl
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 Nov 11, 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.