fontlab_echopy.tooling.enrich
enrich
Fetch verified PySide2 stubs and official Qt 5 docs; intersect native names.
Downloads stay in the caller's cache, outside installable packages. PySide2 is never imported or installed into FontLab. Reference signatures are labeled as upstream evidence rather than asserted as PythonQt calling conventions.
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 |
|---|---|---|---|
PYPI |
attribute | ||
QT_DOCS |
attribute | ||
download |
function | (url: str, path: Path, sha256: str | None=None) -> str |
Cache an upstream resource; validate wheel digest before parsing content. |
enrich |
function | (data: dict[str, Any], cache: Path, output: Path, max_classes: int=0) -> dict[str, Any] |
Enrich all intersecting classes by default; report every gap explicitly. |
fetch_pyside |
function | (cache: Path) -> tuple[Path, dict[str, Any]] |
Resolve latest PyPI metadata and choose a wheel solely for .pyi extraction. |
parse_qt |
function | (html: str, *, source_url: str=QT_DOCS) -> dict[str, Any] |
Read class description and every documented method/property section. |
parse_stubs |
function | (wheel: Path) -> dict[str, Any] |
Extract every PySide2 class and overloaded member signature from a wheel. |