meta_package_manager.cli - mpm CLI

meta_package_manager.cli.json(data)[source]

Utility function to render data structure into pretty printed JSON.

Also care of internal objects like TokenizedString and Path:

meta_package_manager.cli.print_table(header_defs, rows, sort_key=None)[source]

Utility to print a table and sort its content.

meta_package_manager.cli.print_stats(data)[source]

Print statistics.

class meta_package_manager.cli.timeit[source]

Bases: object

Decorator to measure and print elapsed execution time of a function.