snowshu.core.printable_result

class snowshu.core.printable_result.ReportRow(dot_notation: str, population_size: Union[int, str], target_sample_size: Union[int, str], final_sample_size: Union[int, str], count_of_dependencies: str, percent_to_target: Any, percent_is_acceptable: bool)

Bases: object

count_of_dependencies: str = None
dot_notation: str = None
final_sample_size: Union[int, str] = None
percent_is_acceptable: bool = None
percent_to_target: Any = None
population_size: Union[int, str] = None
target_sample_size: Union[int, str] = None
to_tuple() → list
snowshu.core.printable_result.format_set_of_available_images(imageset: iter) → str

Transforms an iterable of tuples into a response pretty printed.

Parameters

imageset – a tuple or ordered iterable in format (image name, last modified datetime, source adapter, target adapter).

Returns

formatted color output.

snowshu.core.printable_result.graph_to_result_list(graphs: networkx.classes.graph.Graph) → list
snowshu.core.printable_result.printable_result(report: List[snowshu.core.printable_result.ReportRow], analyze: bool) → str