Add Python bindings

This commit is contained in:
Andras Schmelczer 2026-03-11 20:48:44 +00:00
parent 7b81034625
commit 545be141d8
18 changed files with 1406 additions and 79 deletions

View file

@ -0,0 +1,24 @@
from typing import Any
def reconcile(
parent: str,
left: Any,
right: Any,
tokenizer: str = "Word",
) -> dict[str, Any]: ...
def reconcile_with_history(
parent: str,
left: Any,
right: Any,
tokenizer: str = "Word",
) -> dict[str, Any]: ...
def diff(
parent: str,
changed: Any,
tokenizer: str = "Word",
) -> list[int | str]: ...
def undiff(
parent: str,
diff: list[int | str],
tokenizer: str = "Word",
) -> str: ...