|
| str | get_pip_version () |
| |
| Tuple[int, int, int] | normalize_version_info (Tuple[int,...] py_version_info) |
| |
| None | ensure_dir (str path) |
| |
| str | get_prog () |
| |
| None | rmtree (str dir, bool ignore_errors=False) |
| |
| None | rmtree_errorhandler (Callable[..., Any] func, str path, Union[ExcInfo, BaseException] exc_info) |
| |
| str | display_path (str path) |
| |
| str | backup_dir (str dir, str ext=".bak") |
| |
| str | ask_path_exists (str message, Iterable[str] options) |
| |
| None | _check_no_input (str message) |
| |
| str | ask (str message, Iterable[str] options) |
| |
| str | ask_input (str message) |
| |
| str | ask_password (str message) |
| |
| int | strtobool (str val) |
| |
| str | format_size (float bytes) |
| |
| Tuple[List[str], List[int]] | tabulate (Iterable[Iterable[Any]] rows) |
| |
| bool | is_installable_dir (str path) |
| |
| Generator[bytes, None, None] | read_chunks (BinaryIO file, int size=io.DEFAULT_BUFFER_SIZE) |
| |
| str | normalize_path (str path, bool resolve_symlinks=True) |
| |
| Tuple[str, str] | splitext (str path) |
| |
| None | renames (str old, str new) |
| |
| bool | is_local (str path) |
| |
| None | write_output (Any msg, *Any args) |
| |
| Generator[StreamWrapper, None, None] | captured_output (str stream_name) |
| |
| ContextManager[StreamWrapper] | captured_stdout () |
| |
| ContextManager[StreamWrapper] | captured_stderr () |
| |
| Type[Any] | enum (*Any sequential, **Any named) |
| |
| str | build_netloc (str host, Optional[int] port) |
| |
| str | build_url_from_netloc (str netloc, str scheme="https") |
| |
| Tuple[Optional[str], Optional[int]] | parse_netloc (str netloc) |
| |
| NetlocTuple | split_auth_from_netloc (str netloc) |
| |
| str | redact_netloc (str netloc) |
| |
| Tuple[str, NetlocTuple] | _transform_url (str url, Callable[[str], Tuple[Any,...]] transform_netloc) |
| |
| NetlocTuple | _get_netloc (str netloc) |
| |
| Tuple[str] | _redact_netloc (str netloc) |
| |
| Tuple[str, str, Tuple[Optional[str], Optional[str]]] | split_auth_netloc_from_url (str url) |
| |
| str | remove_auth_from_url (str url) |
| |
| str | redact_auth_from_url (str url) |
| |
| HiddenText | hide_value (str value) |
| |
| HiddenText | hide_url (str url) |
| |
| None | protect_pip_from_modification_on_windows (bool modifying_pip) |
| |
| None | check_externally_managed () |
| |
| bool | is_console_interactive () |
| |
| Tuple[Any, int] | hash_file (str path, int blocksize=1<< 20) |
| |
| Iterator[Tuple[Any, Any]] | pairwise (Iterable[Any] iterable) |
| |
| Tuple[Iterable[T], Iterable[T]] | partition (Callable[[T], bool] pred, Iterable[T] iterable) |
| |