Easy file downloads
Project description
Downloads
Easier HTTP downloads in Python 3.7+
Features
- Easier to remember than
urllib
- Files are not written unless download finishes
- Progress bar!
Installation
pip install downloads==1.1.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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file downloads-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: downloads-1.1.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6d6702464a980ae0d74f8d7be4c630b8e3efbec811374beef7ace16906ea92e |
|
MD5 | 00d523fe429ae0b797af835fb9488fe7 |
|
BLAKE2b-256 | c951fd853bd28dbe50620b103c13f95fb979debb99c40040aa1ee79fae984aac |