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

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page