Skip to main content
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.

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for codepy-2012.1.1.tar.gz
Algorithm Hash digest
SHA256 ba263d2df2e7d8f04eda99ac859af1ef03b0498540ef0e88245ea70ea4a4660f
MD5 f90daa0e0c788663246f061767206917
BLAKE2b-256 34ad22cf02e8495e076884d00e9cc1a2f043f34fb65ff4cd15ce4afc7442432b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page