shiboken6
Python/C++ bindings helper module
Decision gist · record as of 2026-08-14
Yes, if you are developing with Qt for Python or maintaining Shiboken-generated bindings. The module is actively maintained, has no security vulnerabilities, and fills a specific debugging and introspection niche. The copyleft license is standard for Qt tooling. Install only if you actually need binding introspection; it is not a general-purpose library.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later (supports up to 3.14); platform-specific wheels for macOS, Linux, and Windows
- Medium install friction due to platform-specific wheels; actively maintained with recent release 93 days ago.
License · maintenance · safety
copyleft license (copyleft) — Copyleft license (LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only) requires derivative works to be licensed under compatible terms; proprietary use requires explicit license choice or commercial agreement.
last release 2026-05-13 (93 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,743,357 downloads/mo, #2,506 on PyPI
Alternatives
Verify before relying
import shiboken6
# Check if a Python wrapper is valid after C++ object destruction
if shiboken6.isValid(wrapped_object):
# Safe to call methods on the wrapper
pass- Whether shiboken6 can be used standalone or requires additional Qt for Python packages
- Specific debugging capabilities and introspection API surface beyond object validity checks
- Performance characteristics when checking object validity in high-frequency code paths
What it is and what it does
Shiboken6 is a utility module that exposes the internals of Python/C++ bindings generated by the Shiboken binding generator. It lets you inspect and validate binding objects at runtime—checking whether a Python wrapper is still valid after its underlying C++ object has been destroyed, or retrieving metadata about the binding itself. This is primarily useful for developers building Qt for Python applications or integrating C++ libraries into Python, where understanding the state of language-boundary objects can be critical for debugging memory issues or wrapper lifecycle problems.
The module is part of the Qt for Python project and provides a programmatic interface to binding introspection that would otherwise be opaque. It has no runtime dependencies and supports Python 3.10 through 3.14 across macOS, Linux, and Windows platforms.
Use it for
- Debug memory lifecycle issues by checking if C++ objects underlying Python wrappers have been destroyed
- Validate binding object state before calling methods that depend on valid C++ pointers
- Inspect binding metadata during development of custom Shiboken-generated bindings
- Diagnose crashes caused by stale wrapper references in long-running applications
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are developing with Qt for Python or maintaining Shiboken-generated bindings.
The module is actively maintained, has no security vulnerabilities, and fills a specific debugging and introspection niche. The copyleft license is standard for Qt tooling. Install only if you actually need binding introspection; it is not a general-purpose library.
Install
shiboken6 on PyPI
Before you install
Medium install friction due to platform-specific wheels; actively maintained with recent release 93 days ago.
Requires Python 3.10 or later (supports up to 3.14); platform-specific wheels for macOS, Linux, and Windows
License in practice
Copyleft license (LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only) requires derivative works to be licensed under compatible terms; proprietary use requires explicit license choice or commercial agreement.
Quickstart
import shiboken6
# Check if a Python wrapper is valid after C++ object destruction
if shiboken6.isValid(wrapped_object):
# Safe to call methods on the wrapper
pass
Verify before relying
- Whether shiboken6 can be used standalone or requires additional Qt for Python packages
- Specific debugging capabilities and introspection API surface beyond object validity checks
- Performance characteristics when checking object validity in high-frequency code paths
Package facts
| License | copyleft license copyleft |
| Python support | Supports the current Python release <3.15,>=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 93 days since the last release |
| First released | |
| Downloads | 3,743,357 / month, #2,506 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 :: DevelopersOperating System :: MacOS :: MacOS XOperating System :: MicrosoftOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: POSIX :: LinuxProgramming Language :: C++Programming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: DatabaseTopic :: Software DevelopmentTopic :: Software Development :: Code GeneratorsTopic :: Software Development :: Libraries :: Application FrameworksTopic :: Software Development :: User InterfacesTopic :: Software Development :: Widget Sets |
Evidence: shiboken6-6.11.1-cp310-abi3-macosx_13_0_universal2.whl; shiboken6-6.11.1-cp310-abi3-manylinux_2_34_x86_64.whl; shiboken6-6.11.1-cp310-abi3-manylinux_2_39_aarch64.whl; shiboken6-6.11.1-cp310-abi3-win_amd64.whl; shiboken6-6.11.1-cp310-abi3-win_arm64.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 › “shiboken object validation”
- shiboken6Shiboken6 provides Python access to metadata and introspection…
- shiboken2Shiboken2 provides Python access to metadata and utilities for…
- warlockWarlock creates self-validating Python objects using JSON schema,…
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 shiboken2 · PySide6 · PySide6-Essentials · PySide6-Addons · QtPy · PySide2 · QDarkStyle · cxxheaderparser · PyQt6 · qt-material