scopesim.server.download_utils module
Used only by the database and github_utils submodules.
-
scopesim.server.download_utils.handle_download(response, save_path: Path, pkg_name: str, padlen: int, chunk_size: int = 128, disable_bar=False) → None[source]
-
scopesim.server.download_utils.handle_unzipping(save_path: Path, save_dir: Path, pkg_name: str, padlen: int) → None[source]
-
scopesim.server.download_utils.initiate_download(pkg_url: str, cached: bool = False, cache_name: str = '', total: int = 5, backoff_factor: int = 2)[source]