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

Public Member Functions

 __init__ (self, *locators, **kwargs)
 
 clear_cache (self)
 
 get_distribution_names (self)
 
- Public Member Functions inherited from pip._vendor.distlib.locators.Locator
 get_errors (self)
 
 clear_errors (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

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

Protected Member Functions

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

Protected Attributes

 _scheme
 
- Protected Attributes inherited from pip._vendor.distlib.locators.Locator
 _cache
 
 _scheme
 

Properties

 scheme = property(Locator.scheme.fget, _set_scheme)
 
- Properties inherited from pip._vendor.distlib.locators.Locator
 scheme = property(_get_scheme, _set_scheme)
 

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',)
 

Detailed Description

This class allows you to chain and/or merge a list of locators.

Constructor & Destructor Documentation

◆ __init__()

pip._vendor.distlib.locators.AggregatingLocator.__init__ (   self,
locators,
**  kwargs 
)
Initialise an instance.

:param locators: The list of locators to search.
:param kwargs: Passed to the superclass constructor,
               except for:
               * merge - if False (the default), the first successful
                 search from any of the locators is returned. If True,
                 the results from all locators are merged (this can be
                 slow).

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

Member Function Documentation

◆ _get_project()

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

◆ _set_scheme()

pip._vendor.distlib.locators.AggregatingLocator._set_scheme (   self,
  value 
)
protected

◆ clear_cache()

pip._vendor.distlib.locators.AggregatingLocator.clear_cache (   self)

◆ get_distribution_names()

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