First, you need some C code. Something important like computing a fibonacci number: /* fib.c */ int fib(int n) { if (n < 3) { return 1; } else { return fib(n-1) + fib(n-2); } } Now, compile it into LLVM bitcode using clang: bash % clang -emit-llvm -c fib.c This makes an object file fib.o as usual--only the .o file contains LLVM bitcode. Now, just import it into Python: >>> import bitey >>> import