Easy file downloads
Easier HTTP downloads in Python 3.5+
- Easier to remember than
- Files are not written unless download finishes
- Progress bar!
pip install downloads==1.0.0
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)
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for downloads-1.0.0-py3-none-any.whl