METADATA 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. Metadata-Version: 2.0
  2. Name: wget
  3. Version: 3.2
  4. Summary: pure python download utility
  5. Home-page: http://bitbucket.org/techtonik/python-wget/
  6. Author: anatoly techtonik <techtonik@gmail.com>
  7. Author-email: UNKNOWN
  8. License: Public Domain
  9. Platform: UNKNOWN
  10. Classifier: Environment :: Console
  11. Classifier: License :: Public Domain
  12. Classifier: Operating System :: OS Independent
  13. Classifier: Programming Language :: Python :: 2
  14. Classifier: Programming Language :: Python :: 3
  15. Classifier: Topic :: Software Development :: Libraries :: Python Modules
  16. Classifier: Topic :: System :: Networking
  17. Classifier: Topic :: Utilities
  18. Usage
  19. =====
  20. python -m wget [options] <URL>
  21. options:
  22. -o --output FILE|DIR output filename or directory
  23. API Usage
  24. =========
  25. >>> import wget
  26. >>> url = 'http://www.futurecrew.com/skaven/song_files/mp3/razorback.mp3'
  27. >>> filename = wget.download(url)
  28. 100% [................................................] 3841532 / 3841532>
  29. >> filename
  30. 'razorback.mp3'
  31. The skew that you see above is a documented side effect.
  32. Alternative progress bar:
  33. >>> wget.download(url, bar=bar_thermometer)
  34. ChangeLog
  35. =========
  36. 3.2 (2015-10-22)
  37. * download(url) can again be unicode on Python 2.7
  38. https://bitbucket.org/techtonik/python-wget/issues/8
  39. 3.1 (2015-10-18)
  40. * it saves unknown files under download.wget filename
  41. https://bitbucket.org/techtonik/python-wget/issues/6
  42. * it prints unicode chars to Windows console
  43. * it downloads unicode urls with Python 3
  44. 3.0 (2015-10-17)
  45. * it can download and save unicode filenames
  46. https://bitbucket.org/techtonik/python-wget/issues/7
  47. 2.2 (2014-07-19)
  48. * it again can download without -o option
  49. 2.1 (2014-07-10)
  50. * it shows command line help
  51. * -o option allows to select output file/directory
  52. * download(url, out, bar) contains out parameter
  53. 2.0 (2013-04-26)
  54. * it shows percentage
  55. * it has usage examples
  56. * it changes if being used as a library
  57. * download shows progress bar by default
  58. * bar_adaptive gets improved algorithm
  59. * download(url, bar) contains bar parameter
  60. * bar(current, total)
  61. * progress_callback is named callback_progress
  62. 1.0 (2012-11-13)
  63. * it runs with Python 3
  64. 0.9 (2012-11-13)
  65. * it renames file if it already exists
  66. * it can be used as a library
  67. * download(url) returns filename
  68. * bar_adaptive() draws progress bar
  69. * bar_thermometer() simplified bar
  70. 0.8 (2011-05-03)
  71. * it detects filename from HTTP headers
  72. 0.7 (2011-03-01)
  73. * compatibility fix for Python 2.5
  74. * limit width of progress bar to 100 chars
  75. 0.6 (2010-04-24)
  76. * it detects console width on POSIX
  77. 0.5 (2010-04-23)
  78. * it detects console width on Windows
  79. 0.4 (2010-04-15)
  80. * it shows cute progress bar
  81. 0.3 (2010-04-05)
  82. * it creates temp file in current dir
  83. 0.2 (2010-02-16)
  84. * it tries to detect filename from URL
  85. 0.1 (2010-02-04)
  86. * it can download file
  87. Release Checklist
  88. =================
  89. | [ ] update version in wget.py
  90. | [x] update description in setup.py
  91. | [ ] python setup.py check -mrs
  92. | [ ] python setup.py sdist upload
  93. | [ ] tag hg version
  94. --
  95. anatoly techtonik <techtonik@gmail.com>