skip to navigation
skip to content

codepy 2012.1.1

Generate and execute native code at run time.

Downloads ↓

CodePy is a C/C++ metaprogramming toolkit for Python. It handles two aspects of native-code metaprogramming:

  • Generating C/C++ source code.
  • Compiling this source code and dynamically loading it into the Python interpreter.

Both capabilities are meant to be used together, but also work on their own. In particular, the code generation facilities work well in conjunction with PyCuda. Dynamic compilation and linking are so far only supported in Linux with the GNU toolchain.

See also the documentation and the git tree.

 
File Type Py Version Uploaded on Size # downloads
codepy-2012.1.1.tar.gz (md5) Source 2012-02-03 26KB 81