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

Public Member Functions

 get_distribution_names (self)
 
- Public Member Functions inherited from pip._vendor.distlib.locators.Locator
 __init__ (self, scheme='default')
 
 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)
 

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

- Public Attributes inherited from pip._vendor.distlib.locators.Locator
 opener
 
 matcher
 
 errors
 
 downloadable_extensions
 
- 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 special extended metadata (not available on PyPI) and is
the basis of performant dependency resolution in distlib. Other locators
require archive downloads before dependencies can be determined! As you
might imagine, that can be slow.

Member Function Documentation

◆ _get_project()

pip._vendor.distlib.locators.JSONLocator._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.JSONLocator.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: