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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for codepy-2012.1.2.tar.gz
Algorithm Hash digest
SHA256 c68d701bc24217b21b3fe2b256d132a794959edc106d7b123979946b4d239704
MD5 992482e56aa3f5351a08e4c39572bc3a
BLAKE2b-256 03b03b205750762a78eda212d0389bf770eb8e41cb1ef09dacce64591dead9f0

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