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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for cppimport-0.0.7.tar.gz
Algorithm Hash digest
SHA256 e83f82591f9290a614af959cc5e1632f04d99eb85faccd5077674efcadb4ee0c
MD5 9620dc17930f37c14ac6eb85dfaf5175
BLAKE2b-256 857b3d15a1ffb9d4379c930dc5589276d16e2303f6d2a13131843bbac34f888a

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