swh.lister.conda.lister module#
- class swh.lister.conda.lister.CondaLister(scheduler: SchedulerInterface, credentials: Dict[str, Dict[str, List[Dict[str, str]]]] | None = None, url: str = 'https://repo.anaconda.com/pkgs', instance: str = 'conda', channel: str = '', archs: List = [], max_origins_per_page: int | None = None, max_pages: int | None = None, enable_origins: bool = True)[source]#
Bases:
StatelessLister
[Tuple
[str
,Dict
[str
,Dict
[str
,Any
]]]]List Conda (anaconda.com) origins.
- VISIT_TYPE = 'conda'#
- INSTANCE = 'conda'#
- BASE_REPO_URL = 'https://repo.anaconda.com/pkgs'#
- REPO_URL_PATTERN = '{url}/{channel}/{arch}/repodata.json.bz2'#
- ORIGIN_URL_PATTERN = 'https://anaconda.org/{channel}/{pkgname}'#
- ARCHIVE_URL_PATTERN = '{url}/{channel}/{arch}/{filename}'#