Skip to main content

一个简洁易用的多线程文件下载工具。

Project description

简介

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)

☕ 请我喝咖啡

如果本项目对您有所帮助,不妨请作者我喝杯咖啡 :)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

DownloadKit-1.0.3.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

DownloadKit-1.0.3-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

Details for the file DownloadKit-1.0.3.tar.gz.

File metadata

  • Download URL: DownloadKit-1.0.3.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for DownloadKit-1.0.3.tar.gz
Algorithm Hash digest
SHA256 e4817d986dadf8a5316b77f1726ca7539a3a7df972460e24d5543d5cab355f8a
MD5 bd63556429083af43c5214fb11ec8c16
BLAKE2b-256 db16b748e4594d0c69f30765b0c53291b2d4abc65e06f451fa3c7f3ef9e8a196

See more details on using hashes here.

File details

Details for the file DownloadKit-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: DownloadKit-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 21.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for DownloadKit-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b2d4af51ade08ae2801474599db232d0a2a08f0fec0416610e58c1ab79744400
MD5 52206f43e228f61b13844d61b982e467
BLAKE2b-256 e309897b87e9a2647e5f3789686af59fec4328d77d4d01536b28f791600e7386

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page