You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nils
1a76f03237
|
3 years ago | |
---|---|---|
.. | ||
LICENSE.txt | 3 years ago | |
README.md | 3 years ago | |
__init__.py | 3 years ago | |
control_thread.py | 3 years ago | |
download.py | 3 years ago | |
pySmartDL.py | 3 years ago | |
utils.py | 3 years ago |
README.md
Python Smart Download Manager -- pySmartDL
pySmartDL
strives to be a full-fledged smart download manager for Python. Main features:
- Built-in download acceleration (with the
multipart downloading technique <http://stackoverflow.com/questions/93642/how-do-download-accelerators-work>
_). - Mirrors support.
- Pause/Unpause feature.
- Speed limiting feature.
- Hash checking.
- Non-blocking, shows progress bar, download speed and eta.
- Full support for custom headers and methods.
- Python 3 Support
Project Links
- Downloads: http://pypi.python.org/pypi/pySmartDL/
- Documentation: http://itaybb.github.io/pySmartDL/
- Project page: https://github.com/iTaybb/pySmartDL/
- Bugs and Issues: https://github.com/iTaybb/pySmartDL/issues
Installation
Using pip (recommended way)
Make sure python-pip is installed on you system. If you are using virtualenv, then pip is alredy installed into environments created by virtualenv. 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 <http://pypi.python.org/pypi/pySmartDL>`_ 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 starting it:
from pySmartDL import SmartDL
url = "https://github.com/iTaybb/pySmartDL/raw/master/test/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
- Python 3.4 or greater.
Copyright (C) 2014-2020 Itay Brandes.