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.2.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

DownloadKit-1.0.2-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: DownloadKit-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 ec5ca07c3516eb76fd4b763a8c6a8cd7db561210124146c34a59a96466249324
MD5 96f428ab99cbba72ecbfa7d7821c7860
BLAKE2b-256 ca70513b138a7bd4d9e25fb67ba9522aafbc4a55573463793f2af8f0be3b3b31

See more details on using hashes here.

File details

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

File metadata

  • Download URL: DownloadKit-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 22.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d3ff8d0f4049f791ffcdf406498cc3387900cae81006249a1ac03f87ed956083
MD5 b7cb1f7c07fa935b56c8b2a0b9ebbadd
BLAKE2b-256 7cc489602df2625df2e3443d55db03825d6d7a9765130178d8f06d2e393cfc07

See more details on using hashes here.

Supported by

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