Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phoemur/wgetter
Download utility written in python
https://github.com/phoemur/wgetter
cli-utilities downloader network python python-wget
Last synced: about 4 hours ago
JSON representation
Download utility written in python
- Host: GitHub
- URL: https://github.com/phoemur/wgetter
- Owner: phoemur
- License: mit
- Created: 2014-03-08T02:07:36.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-08-12T03:41:57.000Z (over 6 years ago)
- Last Synced: 2024-08-10T11:09:17.609Z (6 months ago)
- Topics: cli-utilities, downloader, network, python, python-wget
- Language: Python
- Size: 20.5 KB
- Stars: 11
- Watchers: 3
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
About
=====Wgetter is another command line download utility written completely in python.
It is based on python-wget (https://bitbucket.org/techtonik/python-wget/src)
with some improvements.It works on python >= 2.6 or python >=3.0
Runs on Windows or Linux or MacUsage
=====python -m wgetter
API Usage
=========>>> import wgetter
>>> filename = wgetter.download('https://sites.google.com/site/doctormike/pacman-1.2.tar.gz', outdir='/home/user')
100 % [====================================================>] 19.9KiB / 19.9KiB 100.0KiB/s eta 0:00:01
>>> filename
'/home/user/pacman-1.2.tar.gz'
Obs.: If not set, output directory (outdir) defaults to current directoryInstallation
============Using PIP:
pip install wgetterManually:
Get the tarball at
https://github.com/phoemur/wgetter/tarball/0.6
or git clone
git clone https://github.com/phoemur/wgetter.git
Then
python setup.py install
Changelog
=========0.7 (2017-07-01)
* Some Bug Fixes0.6 (2015-03-07)
* Some Bug Fixes0.5.1 (2014-08-25)
* Added improved bar and estimated transfer time0.3 (2014-03-08)
* Added the option to set download's output directory0.2 (2014-03-06)
* Init version, uses urllib2 instead of urlretrieve (deprecated), reads in chunks with network transfer rate calculation.
Fancy bar. Human readable file-sizes. Checks Md5 if available and download final size.
It's a heavy modification of python-wget made for my needs that i decided to share.