OpenQuizz
Une application de gestion des contenus pédagogiques
pip._internal.network.lazy_wheel Namespace Reference

Data Structures

class  HTTPRangeRequestUnsupported
 
class  LazyZipOverHTTP
 

Functions

def dist_from_wheel_url (name, url, session)
 

Detailed Description

Lazy ZIP over HTTP

Function Documentation

◆ dist_from_wheel_url()

def pip._internal.network.lazy_wheel.dist_from_wheel_url (   name,
  url,
  session 
)
Return a pkg_resources.Distribution from the given wheel URL.

This uses HTTP range requests to only fetch the potion of the wheel
containing metadata, just enough for the object to be constructed.
If such requests are not supported, HTTPRangeRequestUnsupported
is raised.