Let us walk on the 3-isogeny graph
Loading...
Searching...
No Matches
collector.py File Reference

Go to the source code of this file.

Data Structures

class  _NotAPIContent
 
class  _NotHTTP
 
class  CacheablePageContent
 
class  ParseLinks
 
class  IndexContent
 
class  HTMLLinkParser
 
class  CollectedSources
 
class  LinkCollector
 

Namespaces

namespace  pip
 
namespace  pip._internal
 
namespace  pip._internal.index
 
namespace  pip._internal.index.collector
 

Functions

Optional[str] _match_vcs_scheme (str url)
 
None _ensure_api_header (Response response)
 
None _ensure_api_response (str url, PipSession session)
 
Response _get_simple_response (str url, PipSession session)
 
Optional[str] _get_encoding_from_headers (ResponseHeaders headers)
 
ParseLinks with_cached_index_content (ParseLinks fn)
 
Iterable[Linkparse_links ("IndexContent" page)
 
None _handle_get_simple_fail (Link link, Union[str, Exception] reason, Optional[Callable[..., None]] meth=None)
 
IndexContent _make_index_content (Response response, bool cache_link_parsing=True)
 
Optional["IndexContent"] _get_index_content (Link link, *PipSession session)
 

Variables

 Protocol = object
 
 logger = logging.getLogger(__name__)
 
 ResponseHeaders = MutableMapping[str, str]