全部搜尋項
bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: cppimport  ]

套件:python3-cppimport(22.08.02-2)

python3-cppimport 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 cppimport

維護小組:

外部的資源:

相似套件:

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.imp("modulename") and not have to worry about multiple 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.

其他與 python3-cppimport 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 python3-cppimport

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 15。3 kB62。0 kB [檔案列表]