Skip to main content

A Smart Download Manager for Python

Project description

Python Smart Download Manager – pySmartDL

pySmartDL strives to be a full-pleged smart download manager for Python. Main features:

  • Built-in download acceleration (with the multipart downloading technique).

  • Mirrors support.

  • Pause/Unpause feature.

  • Hash checking.

  • Non-blocking, shows progress bar, download speed and eta.

Installation

Using pip

Make sure python-pip is installed on you system. If you are using virtualenv, then pip is alredy installed into environments created by vertualenv. Run pip to install pySmartDL:

pip install pySmartDL

From Source

The pySmartDL package is installed from source using distutils in the usual way. Download the source distribution first. Unpack the source zip and run the following to install the package site-wide:

python setup.py install

Usage

Download is as simple as creating an instance and launching it:

import os
from pySmartDL import SmartDL

url = "http://mirror.ufs.ac.za/7zip/9.20/7za920.zip"
dest = "C:\\Downloads\\" # or '~/Downloads/' on linux

obj = SmartDL(url, dest)
obj.start()
# [*] 0.23 Mb / 0.37 Mb @ 88.00Kb/s [##########--------] [60%, 2s left]

path = obj.get_dest()

Requirements

Copyright (C) 2014 Itay Brandes.

Project details


Download files

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

Source Distributions

pySmartDL-1.1.2.zip (28.4 kB view hashes)

Uploaded Source

pySmartDL-1.1.2.tar.gz (18.1 kB view hashes)

Uploaded Source

Built Distributions

pySmartDL-1.1.2.win32.exe (212.1 kB view hashes)

Uploaded Source

pySmartDL-1.1.2-py2.7.egg (28.4 kB view hashes)

Uploaded Source

pySmartDL-1.1.2-py2.6.egg (28.7 kB view hashes)

Uploaded Source

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