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.

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-2011.1.tar.gz (32.0 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for codepy-2011.1.tar.gz
Algorithm Hash digest
SHA256 6bd99aa7753cfbd2a6c1533613d4500e4021d4f90155b27831234423b5de96ff
MD5 33e2ad48432e2e7a8e2297eaca71ed3f
BLAKE2b-256 727076e11c999055a627a227870b08b97926d47d6f78fd2a195f7d53f0fe14dc

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