Skip to main content

clang-tidy Python distribution

PyPI Release

This project packages the clang-tidy utility and related tools as a Python package. It allows you to install clang-tidy directly from PyPI:

python -m pip install clang-tidy

The tools provided are:

  • clang-tidy: lints C++ source code using configurable rules
  • clang-apply-replacements: applies "fixes" that have been exported by clang-tidy in YAML format
  • run-clang-tidy.py: runs clang-tidy over all files in a compilation database or a specified path, with parallelism
  • clang-tidy-diff.py: applies clang-tidy to the changed lines in a user-provided diff

This projects intends to release a new PyPI package for each major and minor release of clang-tidy.

Use with pipx

You can use pipx to run clang-tidy, as well. For example, pipx run clang-tidy <args> will run clang-tidy 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 clang-tidy-wheel repository provides the logic to build and publish binary wheels of the clang-tidy utility.

In order to add a new release, the following steps are necessary:

On manual triggers, the following input variables are available:

  • use_qemu: Whether to build targets that require emulation (default: true)
  • llvm_version: Override the LLVM version (default: "")
  • wheel_version: Override the wheel packaging version (default "0")
  • 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.

Acknowledgments

This repository extends the great work of several other projects:

  • clang-tidy itself is provided by the LLVM project under the Apache 2.0 License with LLVM exceptions.
  • The build logic is based on scikit-build which greatly reduces the amount of low level code necessary to package clang-tidy.
  • The scikit-build packaging examples of CMake and Ninja were very helpful in packaging clang-tidy.
  • 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 clang-tidy binary the package is using you can set CLANG_TIDY_WHEEL_VERBOSE to 1 in your environment.

Metadata

Release files for clang-tidy 23.1.6

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

Source distribution (sdist)

Source distribution for clang-tidy 23.1.6
File Size Uploaded Provenance Actions
clang_tidy-23.1.6.tar.gz 12.5 kB With provenance Details for clang_tidy-23.1.6.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for clang-tidy 23.1.6
File Actions
clang_tidy-23.1.6-py2.py3-none-win_amd64.whl Python 2, Python 3 none Windows x86-64 Details for clang_tidy-23.1.6-py2.py3-none-win_amd64.whl
clang_tidy-23.1.6-py2.py3-none-win32.whl Python 2, Python 3 none Windows x86-32 Details for clang_tidy-23.1.6-py2.py3-none-win32.whl
clang_tidy-23.1.6-py2.py3-none-musllinux_1_2_x86_64.whl Python 2, Python 3 none Linux musl 1.2+ x86-64 Details for clang_tidy-23.1.6-py2.py3-none-musllinux_1_2_x86_64.whl
clang_tidy-23.1.6-py2.py3-none-musllinux_1_2_i686.whl Python 2, Python 3 none Linux musl 1.2+ x86-32 Details for clang_tidy-23.1.6-py2.py3-none-musllinux_1_2_i686.whl
clang_tidy-23.1.6-py2.py3-none-musllinux_1_2_armv7l.whl Python 2, Python 3 none Linux musl 1.2+ ARMv7l Details for clang_tidy-23.1.6-py2.py3-none-musllinux_1_2_armv7l.whl
clang_tidy-23.1.6-py2.py3-none-manylinux_2_31_armv7l.whl Python 3, Python 2 none Linux glibc 2.31+ ARMv7l Details for clang_tidy-23.1.6-py2.py3-none-manylinux_2_31_armv7l.whl
clang_tidy-23.1.6-py2.py3-none-manylinux_2_28_i686.whl Python 2, Python 3 none Linux glibc 2.28+ x86-32 Details for clang_tidy-23.1.6-py2.py3-none-manylinux_2_28_i686.whl
clang_tidy-23.1.6-py2.py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl Python 3, Python 2 none Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for clang_tidy-23.1.6-py2.py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
clang_tidy-23.1.6-py2.py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl Python 2, Python 3 none Linux glibc 2.28+ ARM64, Linux glibc 2.26+ ARM64 Details for clang_tidy-23.1.6-py2.py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
clang_tidy-23.1.6-py2.py3-none-macosx_11_0_arm64.whl Python 2, Python 3 none macOS 11.0+ ARM64 Details for clang_tidy-23.1.6-py2.py3-none-macosx_11_0_arm64.whl
clang_tidy-23.1.6-py2.py3-none-macosx_10_9_x86_64.whl Python 2, Python 3 none macOS 10.9+ x86-64 Details for clang_tidy-23.1.6-py2.py3-none-macosx_10_9_x86_64.whl

Total release size: 446.1 MB

Release files / clang_tidy-23.1.6.tar.gz

Download URL clang_tidy-23.1.6.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7ee86117d52cb5cc820c24b22dacf3af0afc1f820c14c8576bdac265e6ff4efd
BLAKE2b-256 checksum
How to use checksums
19b98625423dd6f8b1d6e47aab22f93fcd6e5e10a2243d1bfeee2d422a7e7425
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 30, 2026.

Transparency log

Release files / clang_tidy-23.1.6-py2.py3-none-win_amd64.whl

Download URL clang_tidy-23.1.6-py2.py3-none-win_amd64.whl
Size 28.6 MB
Tags Python 2 Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
2fdc2d8cac90edfde0b6fbd74237d5d26117ddc94fa214b41dda38a03a19cff7
BLAKE2b-256 checksum
How to use checksums
d837dd83c3e26e6ea9a10f1060d598fa12803d7e4263af94da49cf8c3d785d6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 30, 2026.

Transparency log

Release files / clang_tidy-23.1.6-py2.py3-none-win32.whl

Download URL clang_tidy-23.1.6-py2.py3-none-win32.whl
Size 25.2 MB
Tags Python 2 Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
6b38452537fb2a56856f6c4fb135c1691e077fce644fe215ce41ce4627ef4da5
BLAKE2b-256 checksum
How to use checksums
ea568afc3e4c488712d70e8ae5b0227b02700f37c8ece7aad3f670c3fd54c752
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 30, 2026.

Transparency log

Release files / clang_tidy-23.1.6-py2.py3-none-musllinux_1_2_x86_64.whl

Download URL clang_tidy-23.1.6-py2.py3-none-musllinux_1_2_x86_64.whl
Size 48.3 MB
Tags Linux musl 1.2+ x86-64 Python 2 Python 3
SHA-256 checksum
How to use checksums
91e358e280987a1b560e9c87fef37f1c07ea13b568ed14c86b1737ba98169bb7
BLAKE2b-256 checksum
How to use checksums
56849fb2966f7e8ff8b46d0ffc1f0210552af29f9c4df7e41a461d2ae043b3b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 30, 2026.

Transparency log

Release files / clang_tidy-23.1.6-py2.py3-none-musllinux_1_2_i686.whl

Download URL clang_tidy-23.1.6-py2.py3-none-musllinux_1_2_i686.whl
Size 53.4 MB
Tags Linux musl 1.2+ x86-32 Python 2 Python 3
SHA-256 checksum
How to use checksums
73097ad1025d3cff99edc359dedac80bff8fd4b4136b754b03268269f0555c3a
BLAKE2b-256 checksum
How to use checksums
fc2a64a9b7e30b7d978534b744581ad55d631e4eca502a218f72f9053baaa18a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 30, 2026.

Transparency log

Release files / clang_tidy-23.1.6-py2.py3-none-musllinux_1_2_armv7l.whl

Download URL clang_tidy-23.1.6-py2.py3-none-musllinux_1_2_armv7l.whl
Size 42.8 MB
Tags Linux musl 1.2+ ARMv7l Python 2 Python 3
SHA-256 checksum
How to use checksums
d39167846862c85f442d54b40c2b5445496225ca9f611070edf8831a5339a660
BLAKE2b-256 checksum
How to use checksums
73a33b6ca20d440ae475d2417c27e1745a05376b0b178956dc850faf5f389a60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 30, 2026.

Transparency log

Release files / clang_tidy-23.1.6-py2.py3-none-manylinux_2_31_armv7l.whl

Download URL clang_tidy-23.1.6-py2.py3-none-manylinux_2_31_armv7l.whl
Size 41.8 MB
Tags Linux glibc 2.31+ ARMv7l Python 2 Python 3
SHA-256 checksum
How to use checksums
04c4eb359f949118f17cba5a801fe07b6b0e40e668026343d212b5f27bd9344c
BLAKE2b-256 checksum
How to use checksums
80b2fa4f271bff67f84e0f0ccb84905b52c7c4ff2e3f0b940726e8b04f586088
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 30, 2026.

Transparency log

Release files / clang_tidy-23.1.6-py2.py3-none-manylinux_2_28_i686.whl

Download URL clang_tidy-23.1.6-py2.py3-none-manylinux_2_28_i686.whl
Size 51.2 MB
Tags Linux glibc 2.28+ x86-32 Python 2 Python 3
SHA-256 checksum
How to use checksums
1d1e264f8269985781f58d030a059585dfb9bd30156baea8f7dbff28473e56c9
BLAKE2b-256 checksum
How to use checksums
80ad6433181d3c687c911fd214a512f3bd2c31fef6e05243ff76f0ea3a2143cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 30, 2026.

Transparency log

Release files / clang_tidy-23.1.6-py2.py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL clang_tidy-23.1.6-py2.py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 45.6 MB
Tags Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 Python 2 Python 3
SHA-256 checksum
How to use checksums
d1e5374190dec5976901dde4881eba7a11ce38f3c65b84c5364ac59f26ff042d
BLAKE2b-256 checksum
How to use checksums
d1d983dc1968924a0b4034baa46cdca85fa7a3bff6bcd0b273c5b99897691138
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 30, 2026.

Transparency log

Release files / clang_tidy-23.1.6-py2.py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl

Download URL clang_tidy-23.1.6-py2.py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Size 43.7 MB
Tags Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 Python 2 Python 3
SHA-256 checksum
How to use checksums
25d5cb0deaab77b428b6bd0ed62c0427f4dcc48b5d1dfe8e1591302d782ca900
BLAKE2b-256 checksum
How to use checksums
96b92e07223c7e220f4e086edf95fd1abbb4efa865eb10ae72a102e45f9c80ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 30, 2026.

Transparency log

Release files / clang_tidy-23.1.6-py2.py3-none-macosx_11_0_arm64.whl

Download URL clang_tidy-23.1.6-py2.py3-none-macosx_11_0_arm64.whl
Size 32.3 MB
Tags Python 2 Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6ca7a3dea2825724aa321106aee412c880a1ec9c433557eefba1c5baa9e378d2
BLAKE2b-256 checksum
How to use checksums
cbea08f29f3c067d8383d7476ea1f9aa8cfac688db6fcc221db691c51d0097e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 30, 2026.

Transparency log

Release files / clang_tidy-23.1.6-py2.py3-none-macosx_10_9_x86_64.whl

Download URL clang_tidy-23.1.6-py2.py3-none-macosx_10_9_x86_64.whl
Size 33.1 MB
Tags Python 2 Python 3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
4b965953155b255b6ca06fc0bdfc716e147843290b354026284914f38eea2c11
BLAKE2b-256 checksum
How to use checksums
620087f457e4baaeeb66996682c4b1f0176f97f6fb95f1347427c635c15f0ad5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 30, 2026.

Transparency log

Security for clang-tidy 23.1.6

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 12 files in this release have been uploaded with provenance metadata.

Select from 12 files

Attestation for clang_tidy-23.1.6.tar.gz

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 30, 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