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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for codepy-0.91.tar.gz
Algorithm Hash digest
SHA256 fea1b156371a061ca8c610a8b89bace9c08b97a327cad819e2a9d9b6d7cd42ff
MD5 92093faf617ce457d28aeb22bda3409b
BLAKE2b-256 bd376e461c7089a563d8a359e1f0b8249341027f991ead239f00caa657247675

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