_download
Download and extraction operations.
Functions¶
download_file(url, dest, show_progress=True)
¶
Download file from URL to destination with optional progress bar.
extract_archive(archive, dest_dir)
¶
Extract tar.gz archive. Returns path to extracted root directory.
Source code in brmspy/_runtime/_download.py
download_runtime(url, dest_dir, expected_hash=None)
¶
Download runtime archive and extract. Validates hash if provided. Returns path to extracted (not yet installed) runtime.