package documentation

Undocumented

Module preload This file can be used to preload files needed for testing.

From __init__.py:

Function download Undocumented
Function output_file Undocumented
Function retrieve_file Undocumented
Function urls_from_file ``list_file`` should be a text file where each line corresponds to a URL to download.
Constant DOWNLOAD_DIR Undocumented
Constant NAME_REMOVE Undocumented
NAME_REMOVE: tuple[str, ...] = (source)

Undocumented

Value
('http://', 'https://', 'github.com/', '/raw/')
DOWNLOAD_DIR = (source)

Undocumented

Value
Path(__file__).parent
def output_file(url: str, download_dir: Path = DOWNLOAD_DIR): (source)

Undocumented

def retrieve_file(url: str, download_dir: Path = DOWNLOAD_DIR, wait: float = 5): (source)

Undocumented

def urls_from_file(list_file: Path): (source)

``list_file`` should be a text file where each line corresponds to a URL to download.

def download(url: str, dest: Path): (source)

Undocumented