Let us walk on the 3-isogeny graph
|
Data Structures | |
class | SearchCommand |
class | TransformedHit |
Functions | |
List["TransformedHit"] | transform_hits (List[Dict[str, str]] hits) |
None | print_dist_installation_info (str name, str latest) |
None | print_results (List["TransformedHit"] hits, Optional[int] name_column_width=None, Optional[int] terminal_width=None) |
str | highest_version (List[str] versions) |
Variables | |
logger = logging.getLogger(__name__) | |
str highest_version | ( | List[str] | versions | ) |
Definition at line 173 of file search.py.
Referenced by pip._internal.commands.search.print_results(), and pip._internal.commands.search.transform_hits().
None print_dist_installation_info | ( | str | name, |
str | latest | ||
) |
Definition at line 116 of file search.py.
References i.
None print_results | ( | List["TransformedHit"] | hits, |
Optional[int] | name_column_width = None , |
||
Optional[int] | terminal_width = None |
||
) |
Definition at line 135 of file search.py.
References pip._internal.commands.search.highest_version(), and i.
Referenced by SearchCommand.run().
List["TransformedHit"] transform_hits | ( | List[Dict[str, str]] | hits | ) |
The list from pypi is really a list of versions. We want a list of packages with the list of versions stored inline. This converts the list from pypi into one we can use.
Definition at line 88 of file search.py.
References pip._internal.commands.search.highest_version(), and i.
Referenced by SearchCommand.run().