ExtensionCatalog#

class ExtensionCatalog(entries=<factory>, source='', errors=<factory>)#

Bases: object

Loaded extension catalog plus source diagnostics.

Parameters:
entries: tuple[ExtensionCatalogEntry, ...]#
source: str = ''#
errors: tuple[str, ...]#
property available: bool#

Return whether the catalog was loaded without diagnostics.

by_name()#

Return entries keyed by normalized extension name.

Return type:

dict[str, ExtensionCatalogEntry]

by_package()#

Return entries keyed by normalized Python package name.

Return type:

dict[str, ExtensionCatalogEntry]