How to Install and Uninstall python3-cppimport Package on Kali Linux

Last updated: November 26,2024

1. Install "python3-cppimport" package

Please follow the step by step instructions below to install python3-cppimport on Kali Linux

$ sudo apt update $ sudo apt install python3-cppimport

2. Uninstall "python3-cppimport" package

Please follow the steps below to uninstall python3-cppimport on Kali Linux:

$ sudo apt remove python3-cppimport $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-cppimport package on Kali Linux

Package: python3-cppimport
Source: cppimport
Version: 22.08.02-2
Installed-Size: 62
Maintainer: Debian Python Team
Architecture: all
Depends: python3-mako, python3-pybind11, python3-filelock, python3:any
Size: 15624
SHA256: 80bcff6ec5282a83de1e3f0f194a113300eba398c3aa7afb346b1be0e9e37f2a
SHA1: 2dfb9c1facb6217dc54b3c942875c57553b241c4
MD5sum: d79ba0eda82aa54348f066e7dfbc1a4d
Description: 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.
Description-md5:
Homepage: https://github.com/tbenthompson/cppimport
Section: python
Priority: optional
Filename: pool/main/c/cppimport/python3-cppimport_22.08.02-2_all.deb