llvm-py provides Python bindings for LLVM.
This package has only been tested with LLVM 3.1, and Python 2.7, (not Python 3.x).
- Get 3.1 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:llvmpy/llvmpy.git
$ cd llvmpy
$ python setup.py install
- See documentation at 'http://www.llvmpy.org/pages.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.