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


Release history Release notifications

Download files

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

Files for internetdownloadmanager, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size internetdownloadmanager-0.0.2-py3-none-any.whl (7.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size internetdownloadmanager-0.0.2.tar.gz (5.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page