Metadata-Version: 2.1
Name: python-urlopen
Version: 0.1.6.1
Summary: Python urlopen wrapper.
Home-page: https://github.com/ChenyangGao/python-modules/tree/main/python-urlopen
License: MIT
Keywords: urlopen
Author: ChenyangGao
Author-email: wosiwujm@gmail.com
Requires-Python: >=3.12,<4.0
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: http_client_request (>=0.0.6)
Requires-Dist: http_response (>=0.0.9)
Requires-Dist: python-argtools (>=0.0.2)
Requires-Dist: python-cookietools (>=0.1.3)
Requires-Dist: python-dicttools (>=0.0.4)
Requires-Dist: python-filewrap (>=0.2.8)
Requires-Dist: python-http_request (>=0.1.4)
Requires-Dist: python-undefined (>=0.0.3)
Requires-Dist: yarl
Project-URL: Repository, https://github.com/ChenyangGao/python-modules/tree/main/python-urlopen
Description-Content-Type: text/markdown

# Python urlopen wrapper.

## Installation

You can install via [pypi](https://pypi.org/project/python-urlopen/)

```console
pip install -U python-urlopen
```

## Usage

### Module

```python
from urlopen import urlopen
```

### Command

```console
$ python -m urlopen -h
usage: __main__.py [-h] [-d SAVEDIR] [-r] [-hs HEADERS] [-v] [url ...]

python url downloader

positional arguments:
  url                   URL(s) to be downloaded (one URL per line), if omitted, read from stdin

options:
  -h, --help            show this help message and exit
  -d SAVEDIR, --savedir SAVEDIR
                        directory to the downloading files
  -r, --resume          skip downloaded data
  -hs HEADERS, --headers HEADERS
                        dictionary of HTTP Headers to send with
  -v, --version         print the current version
```


