Skip to main content

libclang python bindings

Project description

# python-clang5
Python bindings for clang from clang release branches

This is the python bindings subdir of llvm clang repository.
https://github.com/llvm-mirror/clang/tree/master/bindings/python

Specifically, it's from the **release_50** branch.

This is a non-official fork. Mainly for Pypi packaging purposes.
The pypi package is not official either.

Test:
-----

You may need to alter `LD_LIBRARY_PATH` so that the Clang library can be
found. The unit tests are designed to be run with `nosetests`. For example:

```shell
$ env PYTHONPATH=$(echo ~/llvm/tools/clang/bindings/python/) \
LD_LIBRARY_PATH=$(llvm-config --libdir) \
nosetests -v
tests.cindex.test_index.test_create ... ok
...
```

Credit to [trolldbois/python-clang](https://github.com/trolldbois/python-clang)
for the original repository, which is no longer maintained. This isn't a fork
because I am not maintaining the older branches from that repository.

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
clang-5-5.0.post2.tar.gz (30.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page