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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for cppimport-0.0.10.tar.gz
Algorithm Hash digest
SHA256 62fe19f4b8e4bf01fe9a93c2431c2a65304b935ce7f14387a70b4d5f6099ca9a
MD5 ed6868db568002df5e678b1fe5d12dc7
BLAKE2b-256 c25a43af90650c4a9aa24c81f81fe41326aa783a57d58b33b7bc289b27319901

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