llvm-py provides Python bindings for LLVM.
https://github.com/AndrewBC/llvm-py
This package has only been tested with LLVM 2.9, and Python 2.7, (not Python 3.x).
- Get 2.9 version of LLVM, build it. Make sure '--enable-pic' is passed to LLVM's 'configure'.
- Get llvm-py and install it:
$ git clone git@github.com:AndrewBC/llvm-py.git
$ cd llvm-py
$ python setup.py install
- See documentation at 'www/web/index.html' and examples under 'test'.
llvm-py is distributed under the new BSD license, which is similar to the LLVM license itself. See the file called LICENSE for the full license text.