# 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
```
Raw data
{
"_id": null,
"home_page": "https://github.com/ChenyangGao/python-modules/tree/main/python-urlopen",
"name": "python-urlopen",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.12",
"maintainer_email": null,
"keywords": "urlopen",
"author": "ChenyangGao",
"author_email": "wosiwujm@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/c5/25/10f689994256a120124f71bd7c2a6eea8c377cb5c6da24888d9da8018bf0/python_urlopen-0.1.6.3.tar.gz",
"platform": null,
"description": "# Python urlopen wrapper.\n\n## Installation\n\nYou can install via [pypi](https://pypi.org/project/python-urlopen/)\n\n```console\npip install -U python-urlopen\n```\n\n## Usage\n\n### Module\n\n```python\nfrom urlopen import urlopen\n```\n\n### Command\n\n```console\n$ python -m urlopen -h\nusage: __main__.py [-h] [-d SAVEDIR] [-r] [-hs HEADERS] [-v] [url ...]\n\npython url downloader\n\npositional arguments:\n url URL(s) to be downloaded (one URL per line), if omitted, read from stdin\n\noptions:\n -h, --help show this help message and exit\n -d SAVEDIR, --savedir SAVEDIR\n directory to the downloading files\n -r, --resume skip downloaded data\n -hs HEADERS, --headers HEADERS\n dictionary of HTTP Headers to send with\n -v, --version print the current version\n```\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python urlopen wrapper.",
"version": "0.1.6.3",
"project_urls": {
"Homepage": "https://github.com/ChenyangGao/python-modules/tree/main/python-urlopen",
"Repository": "https://github.com/ChenyangGao/python-modules/tree/main/python-urlopen"
},
"split_keywords": [
"urlopen"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b411cb261557140e23c782344d0ecb880f6ce9aa32fbd5e5c73c6e6e689ec0d1",
"md5": "c76014030f2239caed230f5c1d098213",
"sha256": "8f085f8f1b504be447ff257fdd7d554b395b52dc82dec6b79e87a2c8812ff1d3"
},
"downloads": -1,
"filename": "python_urlopen-0.1.6.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c76014030f2239caed230f5c1d098213",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.12",
"size": 9278,
"upload_time": "2025-08-27T08:03:01",
"upload_time_iso_8601": "2025-08-27T08:03:01.389133Z",
"url": "https://files.pythonhosted.org/packages/b4/11/cb261557140e23c782344d0ecb880f6ce9aa32fbd5e5c73c6e6e689ec0d1/python_urlopen-0.1.6.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c52510f689994256a120124f71bd7c2a6eea8c377cb5c6da24888d9da8018bf0",
"md5": "c265a3aeea7fc05b5835b90e4e7d266f",
"sha256": "73d7facb6f4d57cc3e507b718b2051f3b33c23a48563b40ec50578153759147b"
},
"downloads": -1,
"filename": "python_urlopen-0.1.6.3.tar.gz",
"has_sig": false,
"md5_digest": "c265a3aeea7fc05b5835b90e4e7d266f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.12",
"size": 7267,
"upload_time": "2025-08-27T08:03:02",
"upload_time_iso_8601": "2025-08-27T08:03:02.833033Z",
"url": "https://files.pythonhosted.org/packages/c5/25/10f689994256a120124f71bd7c2a6eea8c377cb5c6da24888d9da8018bf0/python_urlopen-0.1.6.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-27 08:03:02",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ChenyangGao",
"github_project": "python-modules",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "python-urlopen"
}