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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for cppimport-0.0.2.tar.gz
Algorithm Hash digest
SHA256 cf546889c90e1bffd4b24998d9968346e08ede3b543a69db0563c0f1db3d46eb
MD5 ea558c1d8568e2ff75a1dff40b57e8cc
BLAKE2b-256 2b25be72f3389e378405312d143d96e387bed885601b8e3ae03cf424f311ae57

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