Easy file downloads
Project description
Downloads
Easier HTTP downloads in Python 3.5+
Features
- Easier to remember than
urllib
- Files are not written unless download finishes
- Progress bar!
Installation
pip install downloads==1.0.0
Usage
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!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
downloads-1.0.0.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for downloads-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18d25dcb5d9d2c7c3033e64c7d910ccefb81e65f1fdd99c4ea588741576eb276 |
|
MD5 | aaea395e842736779bbfdfa1c9ac2818 |
|
BLAKE2-256 | ec4ebdc7f8329be40308f3364bb1ca16a3e35487aaa3b6f007034abf23e66637 |