codepy icon indicating copy to clipboard operation
codepy copied to clipboard

Generate and execute native code at run time, from Python

.. image:: https://gitlab.tiker.net/inducer/codepy/badges/main/pipeline.svg :alt: Gitlab Build Status :target: https://gitlab.tiker.net/inducer/codepy/commits/main .. image:: https://github.com/inducer/codepy/workflows/CI/badge.svg :alt: Github Build Status :target: https://github.com/inducer/codepy/actions?query=branch%3Amain+workflow%3ACI .. image:: https://badge.fury.io/py/codepy.svg :alt: Python Package Index Release Page :target: https://pypi.org/project/codepy/

CodePy is a C/C++ metaprogramming toolkit for Python. It helps you compile source code and dynamically load it into the Python interpreter. This facility also works in conjunction with with PyCuda <http://mathema.tician.de/software/pycuda>_. Dynamic compilation and linking are so far only supported in Linux with the GNU toolchain.

See also the documentation <http://documen.tician.de/codepy>_ and the git tree <http://github.com/inducer/codepy>_.