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
  • HTML 50.2%
  • Python 42.3%
  • C++ 3.4%
  • LLVM 2.1%
  • CSS 0.8%
  • Other 1.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Siu Kwan Lam 9aadd489c3 Python3 ready. Py2.7 and Py3 working. Drop PyCObject for all.
Pre Py2.7 support should be possible by including  "capsulethunk.h". (See llvm/wrap.h)
2012-07-26 15:25:23 -07:00
llvm Python3 ready. Py2.7 and Py3 working. Drop PyCObject for all. 2012-07-26 15:25:23 -07:00
test Python3 ready. Py2.7 and Py3 working. Drop PyCObject for all. 2012-07-26 15:25:23 -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 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 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

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.