Skip to main content

No project description provided

Project description

Clang Python bindings

These are unofficial Python bindings to clang as taken from the clang source tree, packaged for installation from PyPi.

You must install clang for this library to work. You can usually install it from your distribution's package manager or from http://releases.llvm.org/download.html.

After installing clang, you should be able to

pip install clang

In the interest of keep things simple, this package will have the same version numbers as the clang release they were taken from. In the case of a mistake in packaging, a further patch versioning value will be added, such as 6.0.0.1.

Why does this exist?

Most Linux distributions' clang package already contain the Python bindings, so no more work is needed. However, on Windows, installing the bindings along with clang is not feasible, so this package was created.

This package was originally maintained by @trolldbois, huge thanks to him for his many years of work on it!

Tests note

In the interest of making my life easier, I have added a pytest.ini and modified the tests to run on Windows with a patch I upstreamed to LLVM https://reviews.llvm.org/D47864

Project details


Download files

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

Source Distribution

clang-6.0.0.1.tar.gz (32.1 kB view hashes)

Uploaded source

Built Distribution

clang-6.0.0.1-py3-none-any.whl (31.1 kB view hashes)

Uploaded py3

Supported by

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