Cppcheck Python distribution
This project packages the cppcheck utility as a Python package. It allows you to install cppcheck directly from PyPI:
python -m pip install cppcheck-py
The tools provided are:
cppcheck: performs static analysis of C/C++ source code cppcheck-htmlreport: generates an html report of a XML file produced by cppcheck
This projects intends to release a new PyPI package for each major and minor release of cppcheck.
Use with pipx
You can use pipx to run cppcheck, as well. For example, pipx run cppcheck <args> will run cppcheck without any previous install required on any machine with pipx (including all default GitHub Actions / Azure runners, avoiding requiring a pre-install step or even actions/setup-python).
Building new releases
The cppcheck-wheel repository provides the logic to build and publish binary wheels of the cppcheck utility.
In order to add a new release, the following steps are necessary:
- Edit the version file
- In the form
cppcheck_version.wheel_version, e.g.2.21.0.1
- In the form
- Tag the commit with this version to trigger the GitHub Actions release workflow
- e.g.
git tag v2.21.0.1 && git push origin v2.21.0.1
- e.g.
Alternatively, the workflow can be triggered manually:
On manual triggers, the following input variables are available:
cppcheck_version: Override the Cppcheck version (default:"")wheel_version: Override the wheel packaging version (default"0")skip_emulation: Set which emulation builds to skip, e.g."qemu"(default:"")deploy_to_testpypi: Whether to deploy to TestPyPI instead of PyPI (default:false)
The repository with the precommit hook is automatically updated using a scheduled Github Actions workflow.
Acknowledgements
This repository extends the great work of several other projects:
cppcheckitself is provided by the Cppcheck project under the GPL-3.0 License.- The repository is inspired by clang-format-wheel and clang-tidy-wheel which are in turn based on scikit-build-core which greatly reduces the amount of low level code necessary to package
cppcheck. - The
scikit-buildpackaging examples of CMake and Ninja were very helpful in packagingcppcheck. - The CI build process is controlled by cibuildwheel which makes building wheels across a number of platforms a pleasant experience (!)
We are grateful for the generous provisioning with CI resources that GitHub currently offers to Open Source projects.
Troubleshooting
To see which cppcheck binary the package is using
you can set CPPCHECK_WHEEL_VERBOSE to 1 in your environment.
Metadata
Release files for cppcheck-py 2.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cppcheck_py-2.9.tar.gz | 12.0 kB | Details |
Built distributions (wheels)
Total release size: 103.2 MB
Release files / cppcheck_py-2.9.tar.gz
| Download URL | cppcheck_py-2.9.tar.gz |
|---|---|
| Size | 12.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a05efa510e0f8ebeea24a5b92a8f4a428aba5c80def336ad715b9d86de3a2c87
|
|
BLAKE2b-256 checksum How to use checksums |
de67a882b477d5cf3a5675ed45198fbf0002a714bde79aea35d3cb587df5a22a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Sep 11, 2026.
Transparency logRelease files / cppcheck_py-2.9-py3-none-win_amd64.whl
| Download URL | cppcheck_py-2.9-py3-none-win_amd64.whl |
|---|---|
| Size | 6.2 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
44a50a4387f61035e5a661afc1dd9b5c475152ea035fa0b9111270e29fb429d5
|
|
BLAKE2b-256 checksum How to use checksums |
977039c7e3400f2714d37fc8acb55be6368e75b10c404f9c99030dbcd70159e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Sep 11, 2026.
Transparency logRelease files / cppcheck_py-2.9-py3-none-musllinux_1_2_x86_64.whl
| Download URL | cppcheck_py-2.9-py3-none-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 7.7 MB |
| Tags | Linux musl 1.2+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
60b111e3f6ed8ad8f93c570096677d8370ccdf92e7f928d7b7f4f9c6229b1342
|
|
BLAKE2b-256 checksum How to use checksums |
bdcdc3ec441a977affd72744ca346662c2c8437df9de198a33906f37754b7934
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Sep 11, 2026.
Transparency logRelease files / cppcheck_py-2.9-py3-none-musllinux_1_2_s390x.whl
| Download URL | cppcheck_py-2.9-py3-none-musllinux_1_2_s390x.whl |
|---|---|
| Size | 7.8 MB |
| Tags | Linux musl 1.2+ IBM System/390x Python 3 |
|
SHA-256 checksum How to use checksums |
b80849d5977e122a69e82fbdddd5466d7964eaaf5ba2da60a76cd8ba891dc768
|
|
BLAKE2b-256 checksum How to use checksums |
d3519789b7f62388877e3d0e09ddd30232a5b49923b47ba8d5944e2630e2e9d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Sep 11, 2026.
Transparency logRelease files / cppcheck_py-2.9-py3-none-musllinux_1_2_ppc64le.whl
| Download URL | cppcheck_py-2.9-py3-none-musllinux_1_2_ppc64le.whl |
|---|---|
| Size | 7.8 MB |
| Tags | Linux musl 1.2+ PowerPC 64-le Python 3 |
|
SHA-256 checksum How to use checksums |
bd3f69f160db1bc2e66286b82cc9f2a2c73b54e42546fd5ffd5aee8a0e8d3024
|
|
BLAKE2b-256 checksum How to use checksums |
093f69e305f27165fe0325b0e0541203df34c0c8425e73a68c7603d6f025e2e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Sep 11, 2026.
Transparency logRelease files / cppcheck_py-2.9-py3-none-musllinux_1_2_i686.whl
| Download URL | cppcheck_py-2.9-py3-none-musllinux_1_2_i686.whl |
|---|---|
| Size | 8.0 MB |
| Tags | Linux musl 1.2+ x86-32 Python 3 |
|
SHA-256 checksum How to use checksums |
39aa26973b2a9e44207fb4d40501f21f3ff52a37883165b58c34197530a75397
|
|
BLAKE2b-256 checksum How to use checksums |
f1e540694ac3fe9964ed18064e0c37936e12395dabf274f91f0a9c7dbcb54524
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Sep 11, 2026.
Transparency logRelease files / cppcheck_py-2.9-py3-none-musllinux_1_2_armv7l.whl
| Download URL | cppcheck_py-2.9-py3-none-musllinux_1_2_armv7l.whl |
|---|---|
| Size | 7.1 MB |
| Tags | Linux musl 1.2+ ARMv7l Python 3 |
|
SHA-256 checksum How to use checksums |
27aad0b06ff3f9510443c90078816e7679622d510739914bb68742acb1484f37
|
|
BLAKE2b-256 checksum How to use checksums |
81303a7d27ea61a7006ecde8883045007f646e44e602c374d4440fd879ca8cdf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Sep 11, 2026.
Transparency logRelease files / cppcheck_py-2.9-py3-none-musllinux_1_2_aarch64.whl
| Download URL | cppcheck_py-2.9-py3-none-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 7.4 MB |
| Tags | Linux musl 1.2+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
4f6858d7c3b7e8b3eaf0c873c003ed117e7a90a1af9200ce92c0214fca833d2a
|
|
BLAKE2b-256 checksum How to use checksums |
bf32dbe46ecf06c978cdf3d5201d7d0d25ab137c319276babab598f37e40edd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Sep 11, 2026.
Transparency logRelease files / cppcheck_py-2.9-py3-none-manylinux_2_35_armv7l.whl
| Download URL | cppcheck_py-2.9-py3-none-manylinux_2_35_armv7l.whl |
|---|---|
| Size | 6.2 MB |
| Tags | Linux glibc 2.35+ ARMv7l Python 3 |
|
SHA-256 checksum How to use checksums |
47fa3d251bc04cdd7001f41f6454b7430327d8db2a7c2b03624060dae8c93fd8
|
|
BLAKE2b-256 checksum How to use checksums |
f7d1ac3eb54d677264d47b8480781db5305795602ab2daa5e5f7279f0608e77f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Sep 11, 2026.
Transparency logRelease files / cppcheck_py-2.9-py3-none-manylinux_2_28_i686.whl
| Download URL | cppcheck_py-2.9-py3-none-manylinux_2_28_i686.whl |
|---|---|
| Size | 6.6 MB |
| Tags | Linux glibc 2.28+ x86-32 Python 3 |
|
SHA-256 checksum How to use checksums |
03a2922c48294bd8e2cc332f3bf213ad7bb088bf4ffbb5db89cd1868d4fd5241
|
|
BLAKE2b-256 checksum How to use checksums |
4c58c6a177b95515f7453afb65a4f2ce882f2b54f6f3565bd0037ff65d35e6d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Sep 11, 2026.
Transparency logRelease files / cppcheck_py-2.9-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | cppcheck_py-2.9-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 6.5 MB |
| Tags | Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
49d5baa82b134e5119ea1a4247f384706f9e4d6624b1eea17ad670a82cd9d56c
|
|
BLAKE2b-256 checksum How to use checksums |
f4b1fa01c61a1e22a4bbe3359e4132e4d9701fd9a09a6507746eb046e5be079b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Sep 11, 2026.
Transparency logRelease files / cppcheck_py-2.9-py3-none-manylinux_2_26_s390x.manylinux_2_28_s390x.whl
| Download URL | cppcheck_py-2.9-py3-none-manylinux_2_26_s390x.manylinux_2_28_s390x.whl |
|---|---|
| Size | 6.5 MB |
| Tags | Linux glibc 2.26+ IBM System/390x Linux glibc 2.28+ IBM System/390x Python 3 |
|
SHA-256 checksum How to use checksums |
469f8f948c4466c964ad119b84284d2c7166511035bdc2286ac55b60d4724038
|
|
BLAKE2b-256 checksum How to use checksums |
80b1b3ac019eeefcc902a5b625379c4d82745113cf8527eea43e3c05e7a4bce2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Sep 11, 2026.
Transparency logRelease files / cppcheck_py-2.9-py3-none-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl
| Download URL | cppcheck_py-2.9-py3-none-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl |
|---|---|
| Size | 6.6 MB |
| Tags | Linux glibc 2.26+ PowerPC 64-le Linux glibc 2.28+ PowerPC 64-le Python 3 |
|
SHA-256 checksum How to use checksums |
8bf8825937e3ee00b499227a25903ce532dc48f8ee02991428620fe3e49ac1b4
|
|
BLAKE2b-256 checksum How to use checksums |
15227b12c9bc20850cbd5993ada92d1510bbe0d3487c707eff229082e694ee9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Sep 11, 2026.
Transparency logRelease files / cppcheck_py-2.9-py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
| Download URL | cppcheck_py-2.9-py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 6.3 MB |
| Tags | Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
44ce300d293ba14333cd2498603fdfb93c218c4c5ebb43744c51c3804576a291
|
|
BLAKE2b-256 checksum How to use checksums |
49efba12ce7624ed8d1bfdf6ebf3e7b6395140b2aba767ec87248449ab3a8a67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Sep 11, 2026.
Transparency logRelease files / cppcheck_py-2.9-py3-none-macosx_11_0_arm64.whl
| Download URL | cppcheck_py-2.9-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 6.1 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
4f0511d6c780bda1156a96c4b62027ae858fe238857ac5cd115bc0714fbcb372
|
|
BLAKE2b-256 checksum How to use checksums |
f1c8f81b4aa27b975acde21f60094d7537a08b50e405f184251669aa4b941718
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Sep 11, 2026.
Transparency logRelease files / cppcheck_py-2.9-py3-none-macosx_10_9_x86_64.whl
| Download URL | cppcheck_py-2.9-py3-none-macosx_10_9_x86_64.whl |
|---|---|
| Size | 6.3 MB |
| Tags | Python 3 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
c19b7807ab2f9b48480ba035e0623bacd1fb3aebb78cc91f0b213329cee87c15
|
|
BLAKE2b-256 checksum How to use checksums |
c7960f2872ce3a231c0da9922351eb8d451e5a01802ca885f0688f6ce5203add
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Sep 11, 2026.
Transparency log