wget


Namewget JSON
Version 3.2 PyPI version JSON
download
home_pagehttp://bitbucket.org/techtonik/python-wget/
Summarypure python download utility
upload_time2015-10-22 15:26:37
maintainer
docs_urlNone
authoranatoly techtonik <techtonik@gmail.com>
requires_python
licensePublic Domain
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Usage
=====

  python -m wget [options] <URL>

  options:
    -o --output FILE|DIR   output filename or directory


API Usage
=========

  >>> import wget
  >>> url = 'http://www.futurecrew.com/skaven/song_files/mp3/razorback.mp3'
  >>> filename = wget.download(url)
  100% [................................................] 3841532 / 3841532>
  >> filename
  'razorback.mp3'

The skew that you see above is a documented side effect.
Alternative progress bar:

  >>> wget.download(url, bar=bar_thermometer)


ChangeLog
=========
3.2 (2015-10-22)
 * download(url) can again be unicode on Python 2.7
   https://bitbucket.org/techtonik/python-wget/issues/8

3.1 (2015-10-18)
 * it saves unknown files under download.wget filename
   https://bitbucket.org/techtonik/python-wget/issues/6
 * it prints unicode chars to Windows console
 * it downloads unicode urls with Python 3

3.0 (2015-10-17)
 * it can download and save unicode filenames
   https://bitbucket.org/techtonik/python-wget/issues/7

2.2 (2014-07-19)
 * it again can download without -o option

2.1 (2014-07-10)
 * it shows command line help
 * -o option allows to select output file/directory

   * download(url, out, bar) contains out parameter

2.0 (2013-04-26)
 * it shows percentage
 * it has usage examples
 * it changes if being used as a library

   * download shows progress bar by default
   * bar_adaptive gets improved algorithm
   * download(url, bar) contains bar parameter
     * bar(current, total)
   * progress_callback is named callback_progress

1.0 (2012-11-13)
 * it runs with Python 3

0.9 (2012-11-13)
 * it renames file if it already exists
 * it can be used as a library

   * download(url) returns filename
   * bar_adaptive() draws progress bar
   * bar_thermometer() simplified bar

0.8 (2011-05-03)
 * it detects filename from HTTP headers

0.7 (2011-03-01)
 * compatibility fix for Python 2.5
 * limit width of progress bar to 100 chars

0.6 (2010-04-24)
 * it detects console width on POSIX

0.5 (2010-04-23)
 * it detects console width on Windows

0.4 (2010-04-15)
 * it shows cute progress bar

0.3 (2010-04-05)
 * it creates temp file in current dir

0.2 (2010-02-16)
 * it tries to detect filename from URL

0.1 (2010-02-04)
 * it can download file


Release Checklist
=================

| [ ] update version in wget.py
| [x] update description in setup.py
| [ ] python setup.py check -mrs
| [ ] python setup.py sdist upload
| [ ] tag hg version

-- 
anatoly techtonik <techtonik@gmail.com>
            

Raw data

            {
    "_id": null,
    "home_page": "http://bitbucket.org/techtonik/python-wget/",
    "name": "wget",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "anatoly techtonik <techtonik@gmail.com>",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/47/6a/62e288da7bcda82b935ff0c6cfe542970f04e29c756b0e147251b2fb251f/wget-3.2.zip",
    "platform": "UNKNOWN",
    "description": "Usage\n=====\n\n  python -m wget [options] <URL>\n\n  options:\n    -o --output FILE|DIR   output filename or directory\n\n\nAPI Usage\n=========\n\n  >>> import wget\n  >>> url = 'http://www.futurecrew.com/skaven/song_files/mp3/razorback.mp3'\n  >>> filename = wget.download(url)\n  100% [................................................] 3841532 / 3841532>\n  >> filename\n  'razorback.mp3'\n\nThe skew that you see above is a documented side effect.\nAlternative progress bar:\n\n  >>> wget.download(url, bar=bar_thermometer)\n\n\nChangeLog\n=========\n3.2 (2015-10-22)\n * download(url) can again be unicode on Python 2.7\n   https://bitbucket.org/techtonik/python-wget/issues/8\n\n3.1 (2015-10-18)\n * it saves unknown files under download.wget filename\n   https://bitbucket.org/techtonik/python-wget/issues/6\n * it prints unicode chars to Windows console\n * it downloads unicode urls with Python 3\n\n3.0 (2015-10-17)\n * it can download and save unicode filenames\n   https://bitbucket.org/techtonik/python-wget/issues/7\n\n2.2 (2014-07-19)\n * it again can download without -o option\n\n2.1 (2014-07-10)\n * it shows command line help\n * -o option allows to select output file/directory\n\n   * download(url, out, bar) contains out parameter\n\n2.0 (2013-04-26)\n * it shows percentage\n * it has usage examples\n * it changes if being used as a library\n\n   * download shows progress bar by default\n   * bar_adaptive gets improved algorithm\n   * download(url, bar) contains bar parameter\n     * bar(current, total)\n   * progress_callback is named callback_progress\n\n1.0 (2012-11-13)\n * it runs with Python 3\n\n0.9 (2012-11-13)\n * it renames file if it already exists\n * it can be used as a library\n\n   * download(url) returns filename\n   * bar_adaptive() draws progress bar\n   * bar_thermometer() simplified bar\n\n0.8 (2011-05-03)\n * it detects filename from HTTP headers\n\n0.7 (2011-03-01)\n * compatibility fix for Python 2.5\n * limit width of progress bar to 100 chars\n\n0.6 (2010-04-24)\n * it detects console width on POSIX\n\n0.5 (2010-04-23)\n * it detects console width on Windows\n\n0.4 (2010-04-15)\n * it shows cute progress bar\n\n0.3 (2010-04-05)\n * it creates temp file in current dir\n\n0.2 (2010-02-16)\n * it tries to detect filename from URL\n\n0.1 (2010-02-04)\n * it can download file\n\n\nRelease Checklist\n=================\n\n| [ ] update version in wget.py\n| [x] update description in setup.py\n| [ ] python setup.py check -mrs\n| [ ] python setup.py sdist upload\n| [ ] tag hg version\n\n-- \nanatoly techtonik <techtonik@gmail.com>",
    "bugtrack_url": null,
    "license": "Public Domain",
    "summary": "pure python download utility",
    "version": "3.2",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "fb7a04ee59a56bd8db974146df1d7a8b",
                "sha256": "35e630eca2aa50ce998b9b1a127bb26b30dfee573702782aa982f875e3f16061"
            },
            "downloads": -1,
            "filename": "wget-3.2.zip",
            "has_sig": false,
            "md5_digest": "fb7a04ee59a56bd8db974146df1d7a8b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 10857,
            "upload_time": "2015-10-22T15:26:37",
            "upload_time_iso_8601": "2015-10-22T15:26:37.510547Z",
            "url": "https://files.pythonhosted.org/packages/47/6a/62e288da7bcda82b935ff0c6cfe542970f04e29c756b0e147251b2fb251f/wget-3.2.zip",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2015-10-22 15:26:37",
    "github": false,
    "gitlab": false,
    "bitbucket": true,
    "bitbucket_user": "techtonik",
    "bitbucket_project": "python-wget",
    "lcname": "wget"
}
        
Elapsed time: 0.01195s