download#
conda 索引和包的下载逻辑。
类#
用于处理下载到临时文件的上下文管理器。 |
函数#
|
|
|
|
|
创建或打开锁定的部分下载文件,移动到 target_full_path |
|
在 download() 内部使用的异常转换器 |
|
属性#
- CHUNK_SIZE#
- disable_ssl_verify_warning()#
- download(url, target_full_path, md5=None, sha256=None, size=None, progress_update_callback=None)#
- download_inner(url, target_full_path, md5, sha256, size, progress_update_callback)#
- download_partial_file(target_full_path: str | pathlib.Path, *, url: str, sha256: str, md5: str, size: int)#
创建或打开锁定的部分下载文件,在完成时移动到 target_full_path。在发生异常时保留部分文件。
- download_text(url)#