Clang Python Bindings, mirrored from the official LLVM repo: https://github.com/llvm/llvm-project/tree/master/clang/bindings/python, to make the installation process easier.
Project description
libclang-for-pip
The repository contains code that taken from the LLVM project, to make it easier to install clang's python bindings.
The repository copys necessary Python binding files from LLVM repo, and adds packaging scripts to make it a valid Python package, the uploads the package to pypi. To make the libclang available without install the LLVM toolkits, this package provides bundled static-linked libclang shared library for different platforms, which, should work well on OSX, Windows, as well as usual Linux distributions.
The aim of this project is to make the clang.cindex
(aka., Clang Python Bindings)
available for more Python users, without setup the LLVM environment. To install the package,
you just need to run
pip install clang
Internals
Update class variable library_path
of Config
in cindex.py
as:
library_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'native')
License
This repository follows the license agreement of the LLVM project, see [./LICENSE.TXT] (Apache-2.0 WITH LLVM-exception).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file libclang-11.1.0-py2.py3-none-win_amd64.whl
.
File metadata
- Download URL: libclang-11.1.0-py2.py3-none-win_amd64.whl
- Upload date:
- Size: 12.6 MB
- Tags: Python 2, Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cb0082a30b9e1e615d7f4211b0c428b607a9bd1e43ddc6c0cabdd9ea5b244bf |
|
MD5 | 3dc7d607eb26debcd899452e1049fad6 |
|
BLAKE2b-256 | cc6e975f4ea5a71ae2299fa9f867b923b05a57cb0fc5f7fc37e2509c236abd83 |
Provenance
File details
Details for the file libclang-11.1.0-py2.py3-none-manylinux2014_aarch64.whl
.
File metadata
- Download URL: libclang-11.1.0-py2.py3-none-manylinux2014_aarch64.whl
- Upload date:
- Size: 13.3 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39d07c8965a3c963fb2686496339b6dbacf42acbd32e4bc7361373a45e98cebe |
|
MD5 | 7c529b30280f15ecb58ca1feb5ad212a |
|
BLAKE2b-256 | 3c9eb3e5cc2b4bca9146b4e6641b0459f599bc86b4bb11bb664111f347df060d |
Provenance
File details
Details for the file libclang-11.1.0-py2.py3-none-manylinux1_x86_64.whl
.
File metadata
- Download URL: libclang-11.1.0-py2.py3-none-manylinux1_x86_64.whl
- Upload date:
- Size: 12.8 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8ec7b750c4bf9433340570852ffd0816ccd4ce81548705724aa2d89f37f7329 |
|
MD5 | 3ad3b6be2e69637e394417fa14736cbe |
|
BLAKE2b-256 | 8c2dacd22bf061f8057c68ac1cef1312cd1f42c4da5542820cf3434694405de4 |
Provenance
File details
Details for the file libclang-11.1.0-py2.py3-none-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: libclang-11.1.0-py2.py3-none-macosx_10_9_x86_64.whl
- Upload date:
- Size: 11.8 MB
- Tags: Python 2, Python 3, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9680adc86aaa15f3bd8271218415cae9356b7c4341313dba812991a56e1b7cb |
|
MD5 | 0a6a901fe82969166d1b21f7a2d05f64 |
|
BLAKE2b-256 | 100cf1eab0aa8f9447c8ca36c5ebf0a2f8fc3354c4ca2874cb96c88039b2aae0 |