Skip to main content

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.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for swapcheck 0.1.3
File Actions
swapcheck-0.1.3-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for swapcheck-0.1.3-py3-none-win_amd64.whl
swapcheck-0.1.3-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for swapcheck-0.1.3-py3-none-manylinux_2_28_x86_64.whl
swapcheck-0.1.3-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for swapcheck-0.1.3-py3-none-manylinux_2_28_aarch64.whl
swapcheck-0.1.3-py3-none-macosx_13_0_arm64.whl Python 3 none macOS 13.0+ ARM64 Details for swapcheck-0.1.3-py3-none-macosx_13_0_arm64.whl

Total release size: 160.2 MB

Release files / swapcheck-0.1.3-py3-none-win_amd64.whl

Download URL swapcheck-0.1.3-py3-none-win_amd64.whl
Size 44.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
7057fd23877f6ab9e1ecef72748e08086b8bb2724b9c25600c173ee9595d5c17
BLAKE2b-256 checksum
How to use checksums
624dc867773307f78bab5d6946e451e5958cb86c7adebc16ac40a50b7f763acb
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 log

Release files / swapcheck-0.1.3-py3-none-manylinux_2_28_x86_64.whl

Download URL swapcheck-0.1.3-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
8bda4fa6b2c25bacfab98ee5a66203db36855e8d39190799ce3c5cdd6cba780e
BLAKE2b-256 checksum
How to use checksums
53f6bac1bbe77890908fffd36eb49821a38b285ba2534508f09496f9a0f813e6
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 log

Release files / swapcheck-0.1.3-py3-none-manylinux_2_28_aarch64.whl

Download URL swapcheck-0.1.3-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
77440a063e7ba6bf887cda6dfa8f9668d8a4d837b9eea82974d596bda97946cb
BLAKE2b-256 checksum
How to use checksums
b9579dd2bcf3449a333b31f9446680847c522cf547be22d56a0946e0239e91b0
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 log

Release files / swapcheck-0.1.3-py3-none-macosx_13_0_arm64.whl

Download URL swapcheck-0.1.3-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
c3a8199a2c73c7260d24a392521998f3fac9cdbac361d2e364f9d5d1cc8cdaeb
BLAKE2b-256 checksum
How to use checksums
e1eed4c3618f94856f036c2bb443f34b139fa1b9c457e592c6115af524b82d92
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 log

Security for swapcheck 0.1.3

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.

Select from 4 files

Attestation for swapcheck-0.1.3-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 log

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