Skip to main content

Downloads

test PyPI version Downloads

Easier HTTP downloads in Python 3.7+

Features

  1. Easier to remember than urllib
  2. Files are not written unless download finishes
  3. 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!

Metadata

Release files for downloads 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for downloads 1.1.0
File Interpreter ABI Platform Actions
downloads-1.1.0-py3-none-any.whl Python 3 none any Details for downloads-1.1.0-py3-none-any.whl

Release files / downloads-1.1.0-py3-none-any.whl

Download URL downloads-1.1.0-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a6d6702464a980ae0d74f8d7be4c630b8e3efbec811374beef7ace16906ea92e
BLAKE2b-256 checksum
How to use checksums
c951fd853bd28dbe50620b103c13f95fb979debb99c40040aa1ee79fae984aac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Security for downloads 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page