Skip to content

fontlab_echopy.tooling.llms

llms

Write a compact llms.txt index of the shipped native API declarations.

The index lists, per native module, each class with a one-line summary and each module-level function with its parameter list. It is read by language models that need the shape of the API without the full .pyi stubs. PythonQt is omitted: it is large and documented upstream.

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
HEADER attribute
MODULES attribute
SUMMARY_LIMIT attribute
module_lines function (path: Path, module: str) -> list[str]
render function (package: Path) -> str
signature function (node: ast.FunctionDef) -> str
summary function (node: ast.AST) -> str First sentence of a docstring, skipping inheritance and C++ signature lines.
write function (package: Path, output: Path) -> int Write the index and return its size in bytes.