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

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.1
File Actions
swapcheck-0.1.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for swapcheck-0.1.1-py3-none-win_amd64.whl
swapcheck-0.1.1-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for swapcheck-0.1.1-py3-none-manylinux_2_28_x86_64.whl
swapcheck-0.1.1-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for swapcheck-0.1.1-py3-none-manylinux_2_28_aarch64.whl
swapcheck-0.1.1-py3-none-macosx_13_0_arm64.whl Python 3 none macOS 13.0+ ARM64 Details for swapcheck-0.1.1-py3-none-macosx_13_0_arm64.whl

Total release size: 160.2 MB

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

Download URL swapcheck-0.1.1-py3-none-win_amd64.whl
Size 44.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
586569a193c0222e7b58570d83ab3150a9d3c57af3a8b3c9f5c3a1398eafcc67
BLAKE2b-256 checksum
How to use checksums
8c3fac36eb0aeecf1f1857b0356dbd2bfc614fe491a95ebda95b064c3754eb6c
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 10, 2026.

Transparency log

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

Download URL swapcheck-0.1.1-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
01c2a38639a3521d699002d7d4b2b557a53ec24c8cef7451919238fec9182ee5
BLAKE2b-256 checksum
How to use checksums
898f04014a0a7c188c08c2011f267ba32309b1e56603ebb02665ffe57b69209f
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 10, 2026.

Transparency log

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

Download URL swapcheck-0.1.1-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
0de7b5b44443c94e49354f531a0abb1a56a796a71a82d602d5e32129dd1fa164
BLAKE2b-256 checksum
How to use checksums
d08a6478ffad803c39a77f0e6856737309423b397dfbff30244fe121eb0d28fe
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 10, 2026.

Transparency log

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

Download URL swapcheck-0.1.1-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
504f75e82850024fc69e8eff58d019d9bfb3c69e26bcca87cef435f5cef00b47
BLAKE2b-256 checksum
How to use checksums
488b30da2a9f6c0d79ee1adee5bbae9f9e5998003e474e7250a6fc72fa551f60
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 10, 2026.

Transparency log

Security for swapcheck 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 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for swapcheck-0.1.1-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 10, 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