# 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/web-mount-packs/tree/main/python-module/python-urlopen",
"name": "python-urlopen",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.10",
"maintainer_email": null,
"keywords": "urlopen",
"author": "ChenyangGao",
"author_email": "wosiwujm@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/f3/2b/3bb7d0b6f49bcbc6b9a22dc3b1400ae7a8f26867092812630e6f05556f1a/python_urlopen-0.0.8.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.0.8",
"project_urls": {
"Homepage": "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-urlopen",
"Repository": "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-urlopen"
},
"split_keywords": [
"urlopen"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2efa85faae71fa9b7452d3eb574585c61bc7b24454d78140f19cf9c8e256787a",
"md5": "557a5a47cf4279694d50644fdc3ecfe5",
"sha256": "fa84482e6f26cc2c881ccf7486fd6793bf26cfd2a689f5c678be1ee1d9618fa1"
},
"downloads": -1,
"filename": "python_urlopen-0.0.8-py3-none-any.whl",
"has_sig": false,
"md5_digest": "557a5a47cf4279694d50644fdc3ecfe5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 8637,
"upload_time": "2024-11-07T17:04:54",
"upload_time_iso_8601": "2024-11-07T17:04:54.093813Z",
"url": "https://files.pythonhosted.org/packages/2e/fa/85faae71fa9b7452d3eb574585c61bc7b24454d78140f19cf9c8e256787a/python_urlopen-0.0.8-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f32b3bb7d0b6f49bcbc6b9a22dc3b1400ae7a8f26867092812630e6f05556f1a",
"md5": "2fa77f7aa19884aac1d306b938491b98",
"sha256": "9be7fe43644230f654b4c647ba4f0c312d043709bf2854811d469d5dddc0c47e"
},
"downloads": -1,
"filename": "python_urlopen-0.0.8.tar.gz",
"has_sig": false,
"md5_digest": "2fa77f7aa19884aac1d306b938491b98",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 6653,
"upload_time": "2024-11-07T17:04:56",
"upload_time_iso_8601": "2024-11-07T17:04:56.050787Z",
"url": "https://files.pythonhosted.org/packages/f3/2b/3bb7d0b6f49bcbc6b9a22dc3b1400ae7a8f26867092812630e6f05556f1a/python_urlopen-0.0.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-07 17:04:56",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ChenyangGao",
"github_project": "web-mount-packs",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "python-urlopen"
}