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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for cppimport-0.0.6.tar.gz
Algorithm Hash digest
SHA256 922311839fac97974170e555d0fb878e61514b0e901bc0f747bc2f733d61e6ef
MD5 a4776edb93fc78260e88fdbcc19f87be
BLAKE2b-256 21c8b6544d842a321342dba6d7b5cddb0ad1cf28c104bb5e20e37edf5e506d69

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