pythonqtside.tooling.conversions
conversions
Measure PySide2 implicit enum -> value-class conversions against native PythonQt.
_inventory.json keeps parameter names but not annotations, so this command reads the same PySide2 and native stubs the inventory pins, verified against its recorded SHA256 inputs, and takes routing and native enum layout from it.
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
EXPLICIT |
attribute | ||
LIMITATIONS |
attribute | ||
NUMERIC |
attribute | ||
PACKAGE |
attribute | ||
REASONS |
attribute | ||
analyze |
function | (inventory: dict, pyside_sources: dict[str, bytes], native_sources: dict[str, bytes], inventory_sha256: str, … |
Deterministic table: sorted keys, counts, exclusions and source digest. |
declarations |
function | (source: bytes) -> dict[str, dict] |
Top-level classes: bases, constructor and method overloads with annotations. |
load_sources |
function | (echopy: Path, inventory: dict) -> tuple[dict, dict] |
Read the inventory's pinned PySide2 wheel members and native stubs. |
main |
function | () -> None |
|
pack |
function | (report: dict) -> dict |
File form: each distinct entry stored once; classes refer to it by index. |
value_classes |
function | (inventory: dict, pyside: dict, enums: set[str]) -> dict |
Routed value types constructible implicitly from one native enum argument. |