Style fetchers with protocol support.

class bool, cache_dir: str, cache_option: str)[source]

Bases: object

Manager that controls which fetcher to be used given a protocol.

cache_dir: str
cache_option: str
cache_repository: cachy.repository.Repository
fetch(url) Tuple[Optional[pathlib.Path], str][source]

Determine which fetcher to be used and fetch from it.

Try a fetcher by domain first, then by protocol scheme.

fetchers: FetchersType
offline: bool