Originally a github fork of the llvm-py repository from http://www.mdevan.org/llvm-py/index.html updated to work with LLVM 3.x. Since then it has changed significantly with multiple sub-projects. www.llvmpy.org
Find a file
2012-08-10 11:34:32 -05:00
docs Revert "Cleaned up some of the highlightin in getting_started.rst and llvmpy-package.rst" 2012-08-10 11:34:32 -05:00
llvm Added Module.to_native_object() and Module.to_native_assembly(). 2012-08-09 15:41:55 -07:00
test Added Module.to_native_object() and Module.to_native_assembly(). 2012-08-09 15:41:55 -07:00
tools Updating to python 3 with 2to3. Check llvm/py3k_update.diff and llvm/py3k_update.out for the output from this. 2011-06-11 20:39:16 -05:00
www Updating to python 3 with 2to3. Check llvm/py3k_update.diff and llvm/py3k_update.out for the output from this. 2011-06-11 20:39:16 -05:00
.gitignore Fix missing return in llvm/core.py and do some refactoring; 2012-07-23 09:27:24 -07:00
CHANGELOG Added llvm.core.Argument.alignment 2010-10-15 10:33:37 +00:00
LICENSE Update license and README 2012-08-02 02:46:10 -05:00
MANIFEST.in Added MANIFEST.in 2008-06-15 03:48:09 +00:00
README.md Update license and README 2012-08-02 02:46:10 -05:00
setup-win32.py Python3 ready. Py2.7 and Py3 working. Drop PyCObject for all. 2012-07-26 15:25:23 -07:00
setup.py Stick with C++ for everything. 2012-07-25 18:32:21 -07:00

llvm-py: Python Bindings for LLVM

llvm-py provides Python bindings for LLVM.

Home page

http://www.llvmpy.org

Versions

This package has only been tested with LLVM 3.1, and Python 2.7, (not Python 3.x).

Quickstart

  1. Get 3.1 version of LLVM, build it. Make sure '--enable-pic' is passed to LLVM's 'configure'.
  2. Get llvm-py and install it:
$ git clone git@github.com:llvmpy/llvmpy.git
$ cd llvmpy
$ python setup.py install
  1. See documentation at 'http://www.llvmpy.org/pages.html' and examples under 'test'.

LICENSE

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.