fontlab_remopy.client.AsyncFontLab · declarations 001
Back to fontlab_remopy.client.AsyncFontLab
__aenter__
async
__aenter__() -> Self
__aexit__
async
__aexit__(*exc: object) -> None
__init__
__init__(command: str | None = None, timeout: float = 30) -> None
eval
async
eval(expression: str, /, **variables: Any) -> Any
Evaluate an expression and return its JSON-native Python value.
execute_script
async
execute_script(path: str | Path, /, **variables: Any) -> ExecutionResult
Run a .flpy/.vfpy file like run; __file__ is its resolved path.
fonts
async
fonts() -> list[dict[str, Any]]
Return open-font records without the catalogue's outer object.
run
async
run(code: str, /, **variables: Any) -> ExecutionResult
Execute ordinary Python with JSON variables and captured output.
tool
async
tool(name: str, **arguments: Any) -> Any
Return the catalogue's JSON payload; preserve native/tool failures.
Argument names are checked against the live catalogue (fetched once per
connection); an unknown name raises ValueError before anything is sent.
tools
async
tools() -> list[Any]
Discover the complete native tool catalogue (every page).