download_prefix_from_url#
- brainsets.utils.s3_utils.download_prefix_from_url(s3_url, target_dir)[source]#
Download all files matching an S3 URL prefix pattern.
- Parameters:
- Return type:
- Returns:
List of downloaded file paths
- Raises:
ValueError – If URL is not a valid S3 URL
RuntimeError – If download fails
ImportError – If boto3/botocore is not installed.