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

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.3
File Size Uploaded Provenance
clang_tidy-23.1.3.tar.gz 11.7 kB With provenance Details

Built distributions (wheels)

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

Total release size: 445.9 MB

Release files / clang_tidy-23.1.3.tar.gz

Download URL clang_tidy-23.1.3.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
28e59581a477e9d5603bed03b27e16d3061386ff7a91e98910b52cdcb8142866
BLAKE2b-256 checksum
How to use checksums
3f35c9484d1e2ba9282e16219de2b03be9ec0e3d68490d9bf8a6f8a7693c359b
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 Oct 18, 2026.

Transparency log

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

Download URL clang_tidy-23.1.3-py2.py3-none-win_amd64.whl
Size 28.5 MB
Tags Python 2 Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
cf0d0e671f707b5a668c035382b964056067076445e87b736b19ff482229010a
BLAKE2b-256 checksum
How to use checksums
acf0cd5021e635cebaf42c696c46ecc583d77b4e3a396a1a58cdadb8b99c4ef2
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 Oct 18, 2026.

Transparency log

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

Download URL clang_tidy-23.1.3-py2.py3-none-win32.whl
Size 25.1 MB
Tags Python 2 Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
f102ad272836e0ab9bfdf6fb0b2b85ea10e227d32d5f6cb9116bc9d8cca9c320
BLAKE2b-256 checksum
How to use checksums
bbbc5d4becfce7a6470905048df6b81af7b9de64f9a49e8044ef072d6b6dfbc6
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 Oct 18, 2026.

Transparency log

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

Download URL clang_tidy-23.1.3-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
af33afba33bd6a4fa60b98ccd54f0a6873ba255d2fd7d5bd18ecc70fcb5746ba
BLAKE2b-256 checksum
How to use checksums
50e22de366a8ed70452d3e0c69d496c993bc0d9bc8d8a8eb9e41418a0a44c130
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 Oct 18, 2026.

Transparency log

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

Download URL clang_tidy-23.1.3-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
fdd49aed207392cbf86adc369a0ef8c3cb4b984475ad24a010e3340c0d3d6e32
BLAKE2b-256 checksum
How to use checksums
ebf4fc9adcd218d968aa9f2071cab3ba69806ae2b2ab972549da4f38762c661b
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 Oct 18, 2026.

Transparency log

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

Download URL clang_tidy-23.1.3-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
4a82ed56af8cbc22f95b620aff579a20de117a207bab0b28a9a34b070aed3c03
BLAKE2b-256 checksum
How to use checksums
b16e0c9f9358c7866d1f1bdb99afaa8c6b7ab6f2d23a8ce9c5eba8042c9b5507
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 Oct 18, 2026.

Transparency log

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

Download URL clang_tidy-23.1.3-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
050ac21eda71704c1e77735e9648a11377de9fb4956ef20002994099045fc6ab
BLAKE2b-256 checksum
How to use checksums
2af034f4a9830dd63005d80534eed5ee8b47675c018c1651ad468c1ede89eade
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 Oct 18, 2026.

Transparency log

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

Download URL clang_tidy-23.1.3-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
04583ea7f637efeef7f73d2e23ff1648b290aa18c431b89a5460538b0bea130d
BLAKE2b-256 checksum
How to use checksums
215807d920a86dbd88f034a6914adc61a3558ef40e8be00ff9f7a8b2635407f6
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 Oct 18, 2026.

Transparency log

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

Download URL clang_tidy-23.1.3-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
6b2558bc396a6e792190700134609e041f657d7f8d15385e8b0aa66f5ffe21b5
BLAKE2b-256 checksum
How to use checksums
7af05d684465b0727e3d5364de38cead2775f73ff35f63694176a0694c2ab943
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 Oct 18, 2026.

Transparency log

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

Download URL clang_tidy-23.1.3-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
5639a8e65df6701ac144ee6b9e73aef4bdd3706cdc5849de1a5147c5aeaddf24
BLAKE2b-256 checksum
How to use checksums
3d6f1c50dacbc9ae537e0e40be27fa7b0a56e60dcc0a1fffd0d9b280b1ed6749
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 Oct 18, 2026.

Transparency log

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

Download URL clang_tidy-23.1.3-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
cbd31dea271cee7ed5b5048847e73b8208c8dde90e321e09c20d9146011f8ff2
BLAKE2b-256 checksum
How to use checksums
264265a2c5ee9be88b81d3890df15fd1af7f5bbab72a16ccf4d302454385e067
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 Oct 18, 2026.

Transparency log

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

Download URL clang_tidy-23.1.3-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
6d745b16e375bfc2219bca5f6697dc17348313f6b1fc58f8fa7321172a59ecdf
BLAKE2b-256 checksum
How to use checksums
f0a6b5b34b1770cc50aa216d33a45456c1a69375dee40a0abad91ef2656d570c
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 Oct 18, 2026.

Transparency log

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

Select from 12 files

Attestation for clang_tidy-23.1.3.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 Oct 18, 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