Clang Python package for PyPI
This repository builds and releases the clang package on pypi .
The wheel is built from the LLVM libclang python binding source code directly. Thanks @nightlark for the 2025 refresh of the build process.
This package does not contain binary files for the libclang library, only the python bindings.
Installation
You can install the package using pip:
pip install clang
Or for a specific version:
pip install clang==20
License
This repository follows the license agreement of the LLVM project, see Apache-2.0 WITH LLVM-exception.
Release SOP
- GitHub Workflows will create new pull requests weekly when LLVM releases new major versions. You can always manually trigger the GitHub Actions.
- Merge the PR created by GH Action.
- Create a new release, with a new tag "v".
- The creation of the tag will trigger a push, which will trigger the release/pypi upload workflow, through Trusted Publishing
Release files for clang 21.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| clang-21.1.7.tar.gz | 8.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| clang-21.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 48.8 kB
Release files / clang-21.1.7.tar.gz
| Download URL | clang-21.1.7.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
01d5602b3fff77fef6d691a193d7aead4766b0f11d789d596200f3334a88f4b8
|
|
BLAKE2b-256 checksum How to use checksums |
509b956a03195656847c4e3620dab9c36c9e53aecf685a6c3f0bc1ce025d7ec3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Dec 18, 2025.
Transparency logRelease files / clang-21.1.7-py3-none-any.whl
| Download URL | clang-21.1.7-py3-none-any.whl |
|---|---|
| Size | 40.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
23ee8f7b62af648009aee5139516b2a2a9320680dbce6e42a53e48bd5e8983ea
|
|
BLAKE2b-256 checksum How to use checksums |
50a4608c542925949b300a295baa422b568f835044c5e3ad20820676b840228a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Dec 18, 2025.
Transparency log