Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
pip._vendor.distlib.locators.PyPIJSONLocator Class Reference
Inheritance diagram for pip._vendor.distlib.locators.PyPIJSONLocator:
Inheritance graph
[legend]
Collaboration diagram for pip._vendor.distlib.locators.PyPIJSONLocator:
Collaboration graph
[legend]

Public Member Functions

 __init__ (self, url, **kwargs)
 
 get_distribution_names (self)
 
- Public Member Functions inherited from pip._vendor.distlib.locators.Locator
 get_errors (self)
 
 clear_errors (self)
 
 clear_cache (self)
 
 get_project (self, name)
 
 score_url (self, url)
 
 prefer_url (self, url1, url2)
 
 split_filename (self, filename, project_name)
 
 convert_url_to_download_info (self, url, project_name)
 
 locate (self, requirement, prereleases=False)
 

Public Attributes

 base_url
 
- Public Attributes inherited from pip._vendor.distlib.locators.Locator
 opener
 
 matcher
 
 errors
 
 downloadable_extensions
 

Protected Member Functions

 _get_project (self, name)
 
- Protected Member Functions inherited from pip._vendor.distlib.locators.Locator
 _get_scheme (self)
 
 _set_scheme (self, value)
 
 _get_digest (self, info)
 
 _update_version_data (self, result, info)
 

Additional Inherited Members

- Static Public Attributes inherited from pip._vendor.distlib.locators.Locator
tuple source_extensions = ('.tar.gz', '.tar.bz2', '.tar', '.zip', '.tgz', '.tbz')
 
tuple binary_extensions = ('.egg', '.exe', '.whl')
 
tuple excluded_extensions = ('.pdf',)
 
 wheel_tags = None
 
tuple downloadable_extensions = source_extensions + ('.whl',)
 
- Protected Attributes inherited from pip._vendor.distlib.locators.Locator
 _cache
 
 _scheme
 
- Properties inherited from pip._vendor.distlib.locators.Locator
 scheme = property(_get_scheme, _set_scheme)
 

Detailed Description

This locator uses PyPI's JSON interface. It's very limited in functionality
and probably not worth using.

Constructor & Destructor Documentation

◆ __init__()

pip._vendor.distlib.locators.PyPIJSONLocator.__init__ (   self,
  scheme,
**  kwargs 
)
Initialise an instance.
:param scheme: Because locators look for most recent versions, they
               need to know the version scheme to use. This specifies
               the current PEP-recommended scheme - use ``'legacy'``
               if you need to support existing distributions on PyPI.

Reimplemented from pip._vendor.distlib.locators.Locator.

Member Function Documentation

◆ _get_project()

pip._vendor.distlib.locators.PyPIJSONLocator._get_project (   self,
  name 
)
protected
For a given project, get a dictionary mapping available versions to Distribution
instances.

This should be implemented in subclasses.

If called from a locate() request, self.matcher will be set to a
matcher for the requirement to satisfy, otherwise it will be None.

Reimplemented from pip._vendor.distlib.locators.Locator.

◆ get_distribution_names()

pip._vendor.distlib.locators.PyPIJSONLocator.get_distribution_names (   self)
Return all the distribution names known to this locator.

Reimplemented from pip._vendor.distlib.locators.Locator.


The documentation for this class was generated from the following file: