|
OpenQuizz
Une application de gestion des contenus pédagogiques
|


Public Member Functions | |
| def | __init__ (self, *locators, **kwargs) |
| def | clear_cache (self) |
| def | get_distribution_names (self) |
Public Member Functions inherited from Locator | |
| def | __init__ (self, scheme='default') |
| def | get_errors (self) |
| def | clear_errors (self) |
| def | get_project (self, name) |
| def | score_url (self, url) |
| def | prefer_url (self, url1, url2) |
| def | split_filename (self, filename, project_name) |
| def | convert_url_to_download_info (self, url, project_name) |
| def | locate (self, requirement, prereleases=False) |
Data Fields | |
| merge | |
| locators | |
Data Fields inherited from Locator | |
| opener | |
| matcher | |
| errors | |
Properties | |
| scheme = property(Locator.scheme.fget, _set_scheme) | |
Properties inherited from Locator | |
| scheme = property(_get_scheme, _set_scheme) | |
Additional Inherited Members | |
Static Public Attributes inherited from Locator | |
| source_extensions | |
| binary_extensions | |
| excluded_extensions | |
| wheel_tags | |
| downloadable_extensions | |
This class allows you to chain and/or merge a list of locators.
| def __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).
| def clear_cache | ( | self | ) |
Reimplemented from Locator.
| def get_distribution_names | ( | self | ) |
Return all the distribution names known to this locator.
Reimplemented from Locator.
| locators |
| merge |
|
static |