Skip to main content

pip installable clang-format

Project description


Precompiled python wheels containing the clang-format and python support files. Thus, one has pip installable clang-format useful for CI/CD, and local formatting changes, with a stable output, as long as the same version is used.

The repository for building the wheels are available at:


The idea is to track all officially released clang-format versions, as time permits.

General Outline

  1. LLVM and clang source is downloaded by; build scripts are created
  2. Docker image from is started
  3. In the container, using the build scripts created before:
    1. CMake is built (currently the cmake wheels don't work on manylinux1)
    2. Each of the desired clang-format binaries are statically built
    3. A python package skeleton is copied, and used by bdist_wheel
    4. auditwheel repair is used to make sure no library dependencies exist, and that the package is self-contained
  4. Packages are uploaded via twine

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for clang-format, version 9.0.0
Filename, size File type Python version Upload date Hashes
Filename, size clang_format-9.0.0-py2.py3-none-manylinux1_x86_64.whl (1.4 MB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page