Skip to main content

file downloader with many requests

Project description

Internet Download Manager

Python Internet Download Manager Library

Installing

Install and update using pip3:

$ pip3 install internetdownloadmanager

Python 3 and newer.

Example

from internetdownloadmanager import Downloader

downloader = Downloader(worker=25,
                        part_size=1000000,
                        resumable=True)

downloader.download(url="http://example.com/file",
                    path= 'not_required.extension')

Output:

INFO:internetdownloadmanager.utils:
File Path:filename.extension
File Size: 377277402
Worker: 25
Calculated Part: 378

WARNING:internetdownloadmanager.utils:Download Starting
Status: %3.17 | Transfer Rate =  27274 Kb/s | Time Left: 108 sn | Time: 8 sn | AVG Speed=15169 Kb/s
  • worker: Set how many threads work (default=25)

  • part_size: Set piece size downloaded byte (default=1000000)

  • resumable: Setting the download to be resumable (default=False)

If something goes wrong and the process is interrupted

downloader.resume('example.file_extention.resumable')

Support

  • Python 3.x

  • Supports all operating systems

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

internetdownloadmanager-0.0.2.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

internetdownloadmanager-0.0.2-py3-none-any.whl (7.2 kB view hashes)

Uploaded Python 3

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