Skip to main content

Generate and execute native code at run time.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codepy-2012.1.tar.gz (26.4 kB view details)

Uploaded Source

File details

Details for the file codepy-2012.1.tar.gz.

File metadata

  • Download URL: codepy-2012.1.tar.gz
  • Upload date:
  • Size: 26.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for codepy-2012.1.tar.gz
Algorithm Hash digest
SHA256 e126018c1dbe05fb016a3eed8cb1d7d79ee1ef6e92db6713e59b8118bbfadfb7
MD5 e755efd9cc9c95de1dd05e13771c2be4
BLAKE2b-256 f7312496712a80b6e22b15cbd8f1b942b28960f869a4080273834dbf556d34fc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page