Skip to main content

Import C++ files directly from Python!

Project description

cppimport is a small import hook that determines whether there is a C++ source file that matches the requested module. If there is, the file is compiled as a Python extension using pybind11 and placed in the same folder as the C++ source file. Python is then able to find the module and load it.

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

cppimport-0.0.11.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file cppimport-0.0.11.tar.gz.

File metadata

  • Download URL: cppimport-0.0.11.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cppimport-0.0.11.tar.gz
Algorithm Hash digest
SHA256 9a2e25485ef1ff2f7d3db297dbb048a502134ea2e01a6fc334be3543c82d68f7
MD5 2987f1dcb5f8e407e62aff694dc39060
BLAKE2b-256 5bc4590efc9c13f0e1dd2fe7a2dda3e53bc51627692b893badbf4db89284bef3

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