retrieve_over_http#
- brainglobe_atlasapi.utils.retrieve_over_http(url, output_file_path, fn_update: Callable[[int, int], None] | None = None)[source]#
Download file from remote location, with progress bar.
- Parameters:
url (str) – Remote URL.
output_file_path (str or Path) – Full file destination for download.
fn_update (Callable) – Handler function to update during download. Takes completed and total bytes.