architxt.cli.utils

architxt.cli.utils#

Functions

load_forest(files)

Load a forest from a list of storage paths (ZODB directories or JSONL files).

show_metrics(metrics)

show_schema(schema)

architxt.cli.utils.load_forest(files)[source]#

Load a forest from a list of storage paths (ZODB directories or JSONL files).

Parameters:

files (Iterable[str | Path]) – List of file paths to read into a forest.

Yield:

Trees from the list of data files.

>>> forest = load_forest(['forest_dir/', 'forest.jsonl'])
Return type:

Generator[Tree, None, None]

architxt.cli.utils.show_metrics(metrics)[source]#
Return type:

None

architxt.cli.utils.show_schema(schema)[source]#
Return type:

None