architxt.cli.utils#

Functions

get_schema_metrics(schema)

load_forest(files)

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

show_metrics(metrics)

show_schema(schema)

show_valid_trees_metrics(metrics, schema, ...)

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

Table

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

architxt.cli.utils.show_valid_trees_metrics(metrics, schema, trees, step, log)[source]#
Return type:

None