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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for cppimport-0.0.8.tar.gz
Algorithm Hash digest
SHA256 91c55c14e67e2ed3bae40c36c5f21f748c4261e340eb858364b5f65b50402207
MD5 251044f150c11b6cc656e4c4f04d6a68
BLAKE2b-256 0e1940158dacda04bf90faa3e36e0f3221b7a366d00ff8a368f7b5f7634e58e4

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