cppimport 22.05.11-1 source package in Ubuntu
Changelog
cppimport (22.05.11-1) unstable; urgency=medium * New upstream version 22.05.11 * Add python3-setuptools-scm to build-deps * Update copyright -- Joshua Peisach <email address hidden> Wed, 25 May 2022 16:26:13 -0400
Upload details
- Uploaded by:
- Debian Python Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Python Team
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section |
---|
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
cppimport_22.05.11-1.dsc | 2.0 KiB | 10eeaab9264f7ab199d005ac4c35c6b05cd37821fea2a3a24fc051aad3c345ff |
cppimport_22.05.11.orig.tar.gz | 17.6 KiB | a490824af2cd2eddd3e7839d3c3fa3008b67712d52f27e0992179eaaafe58094 |
cppimport_22.05.11-1.debian.tar.xz | 2.5 KiB | 76f6354eb8d2cd3c3ff933418b8c1325fc5aa5b9509f0358a826d5c2d8fdcebd |
Available diffs
- diff from 21.03.07-2 to 22.05.11-1 (5.2 KiB)
No changes file available.
Binary packages built by this source
- python3-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.