简介
DownloadKit 是一个基于 python 的简洁易用的多线程文件下载工具。 使用简单,功能强大。
使用文档:点击查看
特性
- 多线程,可同时下载多个文件
- 大文件自动分块用多线程下载
- 自动任务调度,简易的任务添加方式
- 可使用已有
Session对象,便于保持登录状态 - 与 DrissionPage 良好兼容
- 自动创建目标路径
- 自动去除路径中的非法字符
- 自动处理文件名冲突
- 可对现有文件追加内容
- 连接失败自动重试
简单示例
from DownloadKit import DownloadKit
# 创建下载器对象
d = DownloadKit(r'.\files')
# 添加多个任务
url1 = 'https://gitee.com/static/images/logo.svg?t=158106664'
url2 = 'https://www.baidu.com/img/PCfb_5bf082d29588c07f842ccde3f97243ea.png'
d.download(url1)
d.download(url2)
☕ 请我喝咖啡
如果本项目对您有所帮助,不妨请作者我喝杯咖啡 :)
Metadata
Release files for DownloadKit 2.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| DownloadKit-2.0.7.tar.gz | 17.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| DownloadKit-2.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.2 kB
Release files / DownloadKit-2.0.7.tar.gz
| Download URL | DownloadKit-2.0.7.tar.gz |
|---|---|
| Size | 17.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
601e423d1d4d0bd3e933524d06c913e744577d455990ec20afc3fb1f79aea9a7
|
|
BLAKE2b-256 checksum How to use checksums |
6b359bbaed54f5d170b1fd8bcfdd3ce5e24ea71f4cac5026a37e6b21ab69726e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|
Release files / DownloadKit-2.0.7-py3-none-any.whl
| Download URL | DownloadKit-2.0.7-py3-none-any.whl |
|---|---|
| Size | 21.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
55b142d26b4e7ae01fff2181991c92aca9b895f75e2cd8a54f4a3b48c50b90b4
|
|
BLAKE2b-256 checksum How to use checksums |
1b89979ad2407eb8e0a2ac67461b7bec7db8627218fe3ba287db49636ca0a60c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|