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.2.tar.gz (46.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

clang-6.0.0.2-py2.py3-none-any.whl (31.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file clang-6.0.0.2.tar.gz.

File metadata

  • Download URL: clang-6.0.0.2.tar.gz
  • Upload date:
  • Size: 46.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/3.6.5

File hashes

Hashes for clang-6.0.0.2.tar.gz
Algorithm Hash digest
SHA256 fea8d56f3f5f02f61c4c1160dbce0f4ff244b996993d35433124d4b505de8b79
MD5 d774cc67c3eb6661696c3698e661eca1
BLAKE2b-256 308fcb48233a75b66882f8ca807a077dbd26ea42e1dc73ada7d0df91a92a1f10

See more details on using hashes here.

File details

Details for the file clang-6.0.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: clang-6.0.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 31.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/3.6.5

File hashes

Hashes for clang-6.0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 73e3a7978edda18306a7e02881cfca3b616d02c5999f8570002f2cae8c84d6c3
MD5 3685db8a7c9e9553be8f2787673a1125
BLAKE2b-256 6dd740cdcb82d072cd1c5e3f7ce249a9dfbd8d7d2194d3f0885b5eaa8f310f2b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page