Metadata-Version: 2.4
Name: awget
Version: 0.0.9
Summary: Pure python download utility can batch download of files listed based on a certain URL
Project-URL: Homepage, https://github.com/breezecloud/awget
Project-URL: Issues, https://github.com/breezecloud/awget/issues
Author-email: luping <luping.sh@chinatelecom.cn>
License: Copyright (c) 2021 The Python Packaging Authority
         
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
         
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
         
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.0
Requires-Dist: pyquery>=2.0.1
Requires-Dist: pywin32>=306; os_name == 'nt'
Requires-Dist: requests>=2.32.3
Description-Content-Type: text/markdown

# awget
usage: awget.py [-h] [-o OUTPUT] [-d DIRECTORY] [-u USER] [-p PASSWORD] [-s] [-v] url<br/>
Pure python download utility,refer to https://pypi.org/project/wget/. The difference is this script can batch download of files listed based on a certain URL,also can download single file. "awget -h" for usage. You can press Ctrl+C break download.<br/>
In addition, you can create an ignore.txt file. When you need to ignore some files that need to be downloaded, you can list the files in ignore.txt, with one line for each file. In this way, the download program will ignore downloading these files.<br/>

# usage
positional arguments:<br/>
  url                   URL<br/>
options:<br/>
  -h, --help   show this help message and exit<br/>
  -o OUTPUT, --output OUTPUT Save the file as OUTPUT<br/>
  -d DIRECTORY, --directory DIRECTORY Save the file to the directory DIRECTORY/<br/>
  -u USER, --user USER  http Authentication username<br/>
  -p PASSWORD, --password PASSWORD    http Authenticate Password<br/>
  -s, --skip      Skip file if it already exists in the target directory<br/>
  -v, --version    version<br/>
<br/>
for example:<br/>
python -m awget https://mirrors.aliyun.com/openwrt/releases/17.01.1/packages/aarch64_armv8-a/base/<br/>

# Third party libraries and install
all os:requests,pyquery<br/>
pip install requests,pyquery<br/>
windows os: [pywin32](https://github.com/mhammond/pywin32)<br/>
pip install pywin32 or pip install pywin32==306<br/>
in china can install by a mirror like 'pip install pywin32==306 -i https://pypi.tuna.tsinghua.edu.cn/simple'

