cppimport 22.08.02-4 source package in Ubuntu
Changelog
cppimport (22.08.02-4) unstable; urgency=medium * Team upload. * skip test_multiple_processes also in build-time tests (see Bug#1071993) -- Drew Parsons <email address hidden> Mon, 27 May 2024 13:04:33 +0200
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 | |
---|---|---|---|---|
Oracular | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
cppimport_22.08.02-4.dsc | 2.2 KiB | a55f74d6d265f87022b9729edddd6557c3745050c21facc286afe13a2f689dde |
cppimport_22.08.02.orig.tar.gz | 19.0 KiB | c267cd7d8583631858e1fcf493018385725fa7c2c1d87113e5a49a9e70cb0269 |
cppimport_22.08.02-4.debian.tar.xz | 3.9 KiB | 03eb4b81ef53aca689e829461734700179647bb8ffcfc9013ede258772d9a137 |
Available diffs
- diff from 22.08.02-2 to 22.08.02-4 (588 bytes)
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.