Skip to content

fontlab_echopy.tooling.capture · declarations 001

Back to fontlab_echopy.tooling.capture

FL_SHAPED module-attribute

FL_SHAPED

QT_SEEDS module-attribute

QT_SEEDS

TARGETS module-attribute

TARGETS

callable_info

callable_info(name: str, value: Any) -> dict[str, Any]

Use inspect signatures when supported; retain native docs as evidence.

capture

capture(targets: tuple[str, ...] | list[str] = TARGETS) -> dict[str, Any]

Capture FontLab and every discovered PythonQt child, including objects.

class_info

class_info(obj: type, name: str) -> dict[str, Any]

One class: members, bases and constructor, without recursing into nested types.

clean_doc

clean_doc(value: Any) -> str

Keep API documentation while removing host-specific filesystem paths.

finish_module

finish_module(scope: dict[str, Any], exports: list[str] | None) -> dict[str, Any]

Make instance classes ordinary classes and record __all__ for star imports.

namespace

namespace(value: Any, name: str, classes: bool = True, only: list[str] | None = None, instances: bool = False) -> dict[str, Any]

Capture every non-dunder name, reporting read failures explicitly.

only restricts the walk to those names (chunked host captures). instances also records the class of each module-level object, e.g. FL.fl.