downloads-1.0.0
توضیحات
Easy file downloads
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | downloads-1.0.0 |
| نام | downloads |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Austin Davis-Richardson |
| ایمیل نویسنده | harekrishna@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/downloads/ |
| مجوز | MIT |
# Downloads
[](https://github.com/audy/downloads/actions?query=workflow%3Atest)
[](https://badge.fury.io/py/downloads)
[](https://pepy.tech/project/downloads)
Easier HTTP downloads in Python 3.5+
## Features
1. Easier to remember than `urllib`
2. Files are not written unless download finishes
3. Progress bar!
## Installation
```
pip install downloads==1.0.0
```
## Usage
```python
from downloads import download
download("http://i.imgur.com/ij2h06p.png")
# output path is automatically determined and returned
# but you can specify it manually if that"s your thing:
download("http://i.imgur.com/i5pJRxX.jpg", out_path="cheezburger.jpg")
# or, if you want to be fancy:
download("https://www.gutenberg.org/files/2600/2600-0.txt", progress=True)
```
That's it!
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | Python |
نحوه نصب
نصب پکیج whl downloads-1.0.0:
pip install downloads-1.0.0.whl
نصب پکیج tar.gz downloads-1.0.0:
pip install downloads-1.0.0.tar.gz