Name | py3-wget JSON |
Version |
1.0.5
JSON |
| download |
home_page | None |
Summary | A tool to download files. It supports progress bar, cksum, timeout, retry failed download. |
upload_time | 2024-12-15 23:29:46 |
maintainer | None |
docs_url | None |
author | Gabriele Berton |
requires_python | None |
license | None |
keywords |
python
download
progress bar
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# py3_wget
A tool like wget for python, supporting a (optional) progress bar, cksum, timeout, retry failed download.
### Basic example
![Demo](assets/e1.gif)
### Recovering from download errors
If errors occur, py3_wget re-runs the download
### Overwrite
Already existing files won't be downloaded by default
![Demo](assets/e3.gif)
### Cksum, MD5, SHA256
py3_wget can automatically check the correctness of the download through cksum, MD5 or SHA256
![Demo](assets/e4.gif)
## Install
Install with
```
pip install py3_wget
```
## Parameters
```
py3_wget.download_file(
url,
output_path=None,
overwrite=False,
verbose=True,
cksum=None,
md5=None,
sha256=None,
max_tries=5,
block_size_bytes=8192,
retry_seconds=2,
timeout_seconds=60,
)
```
### TODO list
- [ ] Optionally resume from partial download
- [x] Optionally pass cksum to downloader to ensure file is correctly downloaded
- [x] Optionally turn off tqdm (silent download)
- [x] Optionally set timeout for download request
Raw data
{
"_id": null,
"home_page": null,
"name": "py3-wget",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "python, download, progress bar",
"author": "Gabriele Berton",
"author_email": "<berton.gabri@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/89/85/0fce25f8b226cd479dc896b0d39ae4864eb5262a634aae2be3046b9dc330/py3_wget-1.0.5.tar.gz",
"platform": null,
"description": "\n# py3_wget\n\nA tool like wget for python, supporting a (optional) progress bar, cksum, timeout, retry failed download.\n\n### Basic example\n![Demo](assets/e1.gif)\n\n### Recovering from download errors\nIf errors occur, py3_wget re-runs the download\n\n### Overwrite\nAlready existing files won't be downloaded by default\n![Demo](assets/e3.gif)\n\n### Cksum, MD5, SHA256\npy3_wget can automatically check the correctness of the download through cksum, MD5 or SHA256\n![Demo](assets/e4.gif)\n\n## Install\nInstall with\n```\npip install py3_wget\n```\n\n## Parameters\n```\npy3_wget.download_file(\n url,\n output_path=None,\n overwrite=False,\n verbose=True,\n cksum=None,\n md5=None,\n sha256=None,\n max_tries=5,\n block_size_bytes=8192,\n retry_seconds=2,\n timeout_seconds=60,\n)\n```\n\n### TODO list\n- [ ] Optionally resume from partial download\n- [x] Optionally pass cksum to downloader to ensure file is correctly downloaded\n- [x] Optionally turn off tqdm (silent download)\n- [x] Optionally set timeout for download request\n",
"bugtrack_url": null,
"license": null,
"summary": "A tool to download files. It supports progress bar, cksum, timeout, retry failed download.",
"version": "1.0.5",
"project_urls": null,
"split_keywords": [
"python",
" download",
" progress bar"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f2d9ccea0371ea235bdc43d198fbf7495ebd3f4d1d20c6a8213b7783e1631abb",
"md5": "54a5f24633e6ca866fe9e5d91cda8c9c",
"sha256": "f6dcfdae7d2376012a6ab1cc5dd7d96e204b00ccdbc35a23e5662005d491c06c"
},
"downloads": -1,
"filename": "py3_wget-1.0.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "54a5f24633e6ca866fe9e5d91cda8c9c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 8326,
"upload_time": "2024-12-15T23:29:43",
"upload_time_iso_8601": "2024-12-15T23:29:43.976599Z",
"url": "https://files.pythonhosted.org/packages/f2/d9/ccea0371ea235bdc43d198fbf7495ebd3f4d1d20c6a8213b7783e1631abb/py3_wget-1.0.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "89850fce25f8b226cd479dc896b0d39ae4864eb5262a634aae2be3046b9dc330",
"md5": "3a34d064672d9f2f631189ab39ebacfc",
"sha256": "5c0583a9b26695b0cc0d744d389cff754b60bc685e3f06b4decacd202825ab5a"
},
"downloads": -1,
"filename": "py3_wget-1.0.5.tar.gz",
"has_sig": false,
"md5_digest": "3a34d064672d9f2f631189ab39ebacfc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7794,
"upload_time": "2024-12-15T23:29:46",
"upload_time_iso_8601": "2024-12-15T23:29:46.527579Z",
"url": "https://files.pythonhosted.org/packages/89/85/0fce25f8b226cd479dc896b0d39ae4864eb5262a634aae2be3046b9dc330/py3_wget-1.0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-15 23:29:46",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "py3-wget"
}