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

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

Total release size: 160.2 MB

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

Download URL swapcheck-0.1.4-py3-none-win_amd64.whl
Size 44.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
eb22680d21c09f8205c275e47b50cf38fb2cc557ab230e93e27e41c5e4fa262f
BLAKE2b-256 checksum
How to use checksums
09a3eecfccfb8c879ffa75aeddd4ecc08895a4477830d10053d8a018c799c067
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.4-py3-none-manylinux_2_28_x86_64.whl

Download URL swapcheck-0.1.4-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
20997a23c79d0ddf1b3f4202cdb50f84dcafc3ead5b3a82980cda54947450f8d
BLAKE2b-256 checksum
How to use checksums
1557a07dc1ff6d8de48d782c15c2e7fc2ba4e429c6a6816247a6bd7fe0c7370f
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.4-py3-none-manylinux_2_28_aarch64.whl

Download URL swapcheck-0.1.4-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
ef4f4cdcd78326a799a3e3b628dc7c3751f4e01ce36c431949a762d5229fec84
BLAKE2b-256 checksum
How to use checksums
446676aa35679cf7ba50f8e04f1a75a00e60b63d3ac95ae6230bcfbe021565e7
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.4-py3-none-macosx_13_0_arm64.whl

Download URL swapcheck-0.1.4-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
0ae4ceebbf2da8ad1e395ef05a28f18464e127ccb98474d7c3d3e46c08a16f78
BLAKE2b-256 checksum
How to use checksums
a28c7eaaff471d144f92e0573524b1e55b41db377ee67607c575d06465dcd22c
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.4

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