Skip to main content

Simple async S3 downloader that handles pre-signed URLs

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

Simple Storage Service pre-Signed Downloader (s4dl)

Disclaimer

This script and the following documentation are mostly generated by Claude 3.5 Sonnet using Cursor IDE. SSL certificates are not verified during download.

Description

A simple async downloader for S3 pre-signed URLs. Efficiently downloads files in parallel with proper error handling and progress tracking.

Features

  • Fast parallel downloads using asyncio
  • Progress bar with ETA
  • Handles SSL certificate issues
  • Safe downloads using temporary files
  • Skips existing files
  • Simple command-line interface

Installation

pip install s4dl

Usage

Basic usage:

s4dl urls.txt [output_dir]

Where:

  • urls.txt: File containing one pre-signed URL per line
  • output_dir: Optional destination directory (default: current directory)

Example:

s4dl urls.txt ./downloads

Error Handling

  • Skips files that already exist
  • Continues downloading on errors
  • Uses temporary files to prevent partial downloads
  • Logs errors for failed downloads

Requirements

  • Python ≥3.7
  • aiohttp
  • aiofiles
  • tqdm

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

s4dl-0.3.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

s4dl-0.3.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file s4dl-0.3.0.tar.gz.

File metadata

  • Download URL: s4dl-0.3.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for s4dl-0.3.0.tar.gz
Algorithm Hash digest
SHA256 81606c2b9ff80ab20089c2a58b7429dd90a52f43a1faa48f1032f7c17d953b6f
MD5 2802d9a8acd99862c4d3d60a707e8ba0
BLAKE2b-256 d0b4850b5793a4ccdfbb4ce24307b67bc014cbd50ab4618147396e51ef4c0c4d

See more details on using hashes here.

Provenance

The following attestation bundles were made for s4dl-0.3.0.tar.gz:

Publisher: python-publish.yml on dwahdany/s4dl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file s4dl-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: s4dl-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for s4dl-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a05a7023ad863065704347ccd0e71e172bd680b2738c9ec47fe05582b33cac9f
MD5 323be758de8ab11c1c5243cd7a66d968
BLAKE2b-256 5dde19a930d6ee47b6a7fa2f30f1a10b89717ac14d64d7caee6e440d56e92f6d

See more details on using hashes here.

Provenance

The following attestation bundles were made for s4dl-0.3.0-py3-none-any.whl:

Publisher: python-publish.yml on dwahdany/s4dl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page