heimdall.utils package
Submodules
heimdall.utils.utils module
- heimdall.utils.utils.download_file(url: str, output_file: Path, chunk_size: int = 1024) None[source]
Download a file from a URL in chunks and save it to a specified path.
- Parameters:
url (str) – The URL of the file to download.
output_file (Path) – The path where the downloaded file will be saved.
chunk_size (int, optional) – The size of each chunk to download (default is DEFAULT_CHUNK_SIZE).
- Return type:
None