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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for cppimport-0.0.4.tar.gz
Algorithm Hash digest
SHA256 2f2570934e1fde126de1dfc4c35f34e72d32c740c7b0049fb620fd8ab6aff041
MD5 fe543656985979cd96c457733a0ef69e
BLAKE2b-256 690d2cbff5e4b29b2e4ab8bbda7d8b60090fc47e24fd829fc880b7a924f6647b

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