PeachPy meets Opcodes: direct machine code generation from Python
PyCUDA and PyOpenCL: A Scripting-Based Approach to GPU Run-Time Code Generation