fontlab_echopy.tooling.chunked
chunked
Capture one native module through several short host calls.
Each remopy run has a 5 s deadline, 32 KiB of code and 64 KiB of output, so
one module is surveyed first and then captured in small name groups. Everything
is read-only: names, classes and signatures only, never property values.
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 |
|---|---|---|---|
BUDGET |
attribute | ||
CHUNK |
attribute | ||
SURVEY |
attribute | ||
capture_module |
function | (run: Callable[..., Any], module: str, failures: tuple[type[Exception], ...]) -> dict[str, Any] |
<code>run(code, **vars)</code><code> must return an object with </code><code>.value</code>; returns a capture item. |
plan_chunks |
function | (sizes: dict[str, int], budget: int=BUDGET) -> list[list[str]] |
Group names so each group's member count stays within <code>budget</code>. |
remote_source |
function | (body: str) -> str |
Self-contained code: the capture module (no Echopy install needed) plus <code>body</code>. |