Binary package “python3-cppimport” in ubuntu oracular
cppimport - Import C++ directly from Python! (Python 3)
Sometimes Python just isn't fast enough. Or you have existing code in
a C++ library. cppimport combines the process of compiling and
importing an extension in Python so that you can type modulename =
cppimport.
steps.
.
cppimport looks for a C or C++ source file that matches the requested
module. If such a file exists, the file is first run through the Mako
templating system. The compilation options produced by the Mako pass
are then used to compile the file as a Python extension. The extension
(shared library) that is produced is placed in the same folder as the
C++ source file. Then, the extension is loaded.
.
Most cppimport users combine it with pybind11, but you can use a range
of methods to create your Python extensions. Raw C extensions,
Boost.Python, SWIG all work.
Source package
Published versions
- python3-cppimport 22.08.02-2 in amd64 (Release)
- python3-cppimport 22.08.02-4 in amd64 (Proposed)
- python3-cppimport 22.08.02-4 in amd64 (Release)
- python3-cppimport 22.08.02-2 in arm64 (Release)
- python3-cppimport 22.08.02-4 in arm64 (Proposed)
- python3-cppimport 22.08.02-4 in arm64 (Release)
- python3-cppimport 22.08.02-2 in armhf (Release)
- python3-cppimport 22.08.02-4 in armhf (Proposed)
- python3-cppimport 22.08.02-4 in armhf (Release)
- python3-cppimport 22.08.02-2 in i386 (Release)
- python3-cppimport 22.08.02-4 in i386 (Proposed)
- python3-cppimport 22.08.02-4 in i386 (Release)
- python3-cppimport 22.08.02-2 in ppc64el (Release)
- python3-cppimport 22.08.02-4 in ppc64el (Proposed)
- python3-cppimport 22.08.02-4 in ppc64el (Release)
- python3-cppimport 22.08.02-2 in riscv64 (Release)
- python3-cppimport 22.08.02-4 in riscv64 (Proposed)
- python3-cppimport 22.08.02-4 in riscv64 (Release)
- python3-cppimport 22.08.02-2 in s390x (Release)
- python3-cppimport 22.08.02-4 in s390x (Proposed)
- python3-cppimport 22.08.02-4 in s390x (Release)