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
Siu Kwan Lam c9902ab8cf Add opaque StructType;
Remove test/typehandle.py;
Add test/opaque.py to demonstrate recursive type.
2012-07-22 15:14:52 -07:00
llvm Add opaque StructType; 2012-07-22 15:14:52 -07:00
test Add opaque StructType; 2012-07-22 15:14:52 -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 Added Module.id property (getter+setter). 2012-07-20 20:15:21 -07:00
CHANGELOG Added llvm.core.Argument.alignment 2010-10-15 10:33:37 +00:00
LICENSE Updated documentation, partially. 2010-08-31 07:31:34 +00:00
MANIFEST.in Added MANIFEST.in 2008-06-15 03:48:09 +00:00
README.md Can has linebreaks? 2011-06-07 14:32:29 -05:00
setup-win32.py 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
setup.py REL: master now 0.8.2 2012-07-10 14:37:42 -05:00

llvm-py: Python Bindings for LLVM

llvm-py provides Python bindings for LLVM.

Home page

https://github.com/AndrewBC/llvm-py

Versions

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

Quickstart

  1. Get 2.9 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:AndrewBC/llvm-py.git
$ cd llvm-py
$ python setup.py install
  1. See documentation at 'www/web/index.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.