shiboken2
Python / C++ bindings helper module
Decision gist · record as of 2026-08-14
No. Shiboken2 is abandoned (last release 1673 days ago) with no active maintenance or security updates. If you are actively using a binding framework that depends on it, verify whether your version still bundles shiboken2; if you need binding introspection for new projects, evaluate whether your binding framework itself is still maintained first.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a pre-existing C++-wrapped Python object (typically from PySide2 or similar binding); shiboken2 alone does not create bindings.
- Medium install friction due to platform-specific wheels across Windows, macOS, and Linux variants.
- Package is abandoned—last release was 1673 days ago—so no active maintenance or security updates are forthcoming.
License · maintenance · safety
LGPL (copyleft) — Dual-licensed under LGPL (copyleft) and proprietary terms. LGPL copyleft obligations apply to derivative works; proprietary license terms may offer alternatives under separate agreement.
last release 2022-01-14 (1673 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 125,730 downloads/mo, #11,804 on PyPI
Alternatives
Verify before relying
import shiboken2
# Check if a Python object wraps a valid C++ instance
is_valid = shiboken2.isValid(some_cpp_wrapped_object)
print(is_valid)- Whether shiboken2 5.15.2.1 remains compatible with Python versions beyond the <3.11 cap
- Current state of Qt for Python maintenance and whether shiboken2 is still usable with active versions
- Whether the dual LGPL/proprietary license terms are clearly documented in the package or require external reference
What it is and what it does
Shiboken2 is a utility module for inspecting and debugging Python bindings generated from C++ code, primarily used within the Qt for Python ecosystem. It exposes functions to check whether a Python wrapper object is still valid—that is, whether the underlying C++ object it wraps has been destroyed—and provides other binding-related metadata useful for integration work and debugging.
The package has no runtime dependencies and ships as platform-specific wheels for Windows, macOS, and Linux. However, it is abandoned: the last release was 1673 days ago, and no active maintenance or security updates are planned. It is designed to be used alongside C++/Python binding frameworks, not as a standalone tool.
Use it for
- Debug applications to detect when Python wrappers reference destroyed C++ objects
- Validate binding integrity during C++/Python integration testing
- Inspect binding metadata to understand wrapper lifecycle in mixed-language codebases
- Troubleshoot segmentation faults caused by invalid wrapper access after C++ cleanup
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
Shiboken2 is abandoned (last release 1673 days ago) with no active maintenance or security updates. If you are actively using a binding framework that depends on it, verify whether your version still bundles shiboken2; if you need binding introspection for new projects, evaluate whether your binding framework itself is still maintained first.
Install
shiboken2 on PyPI
Before you install
Medium install friction due to platform-specific wheels across Windows, macOS, and Linux variants. Package is abandoned—last release was 1673 days ago—so no active maintenance or security updates are forthcoming.
Requires a pre-existing C++-wrapped Python object (typically from PySide2 or similar binding); shiboken2 alone does not create bindings.
License in practice
Dual-licensed under LGPL (copyleft) and proprietary terms. LGPL copyleft obligations apply to derivative works; proprietary license terms may offer alternatives under separate agreement.
Quickstart
import shiboken2
# Check if a Python object wraps a valid C++ instance
is_valid = shiboken2.isValid(some_cpp_wrapped_object)
print(is_valid)
Verify before relying
- Whether shiboken2 5.15.2.1 remains compatible with Python versions beyond the <3.11 cap
- Current state of Qt for Python maintenance and whether shiboken2 is still usable with active versions
- Whether the dual LGPL/proprietary license terms are clearly documented in the package or require external reference
Package facts
| License | LGPL copyleft |
| Python support | Capped below the current Python release >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <3.11 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 1,673 days since the last release |
| First released | |
| Downloads | 125,730 / month, #11,804 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: MacOS XEnvironment :: Win32 (MS Windows)Environment :: X11 Applications :: QtIntended Audience :: DevelopersLicense :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)License :: Other/Proprietary LicenseOperating System :: MacOS :: MacOS XOperating System :: MicrosoftOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: POSIX :: LinuxProgramming Language :: C++Programming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: DatabaseTopic :: Software DevelopmentTopic :: Software Development :: Code GeneratorsTopic :: Software Development :: Libraries :: Application FrameworksTopic :: Software Development :: User InterfacesTopic :: Software Development :: Widget Sets |
Evidence: shiboken2-5.15.2.1-5.15.2-cp27-cp27m-macosx_10_13_intel.whl; shiboken2-5.15.2.1-5.15.2-cp27-cp27mu-manylinux1_x86_64.whl; shiboken2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-abi3-macosx_10_13_intel.whl; shiboken2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-abi3-manylinux1_x86_64.whl; shiboken2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-none-win32.whl; shiboken2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-none-win_amd64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “c++ object lifecycle debugging”
- shiboken2Shiboken2 provides Python access to metadata and utilities for…
- shiboken6Shiboken6 provides Python access to metadata and introspection…
- zope.containerProvides container interfaces and implementations (BTreeContainer,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also shiboken6 · PySide2 · PySide6 · PySide6-Essentials · PySide6-Addons · QtPy · QDarkStyle · pytango · mecab · superqt