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.4.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.4.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for s4dl-0.4.0.tar.gz
Algorithm Hash digest
SHA256 878bc2068436e800c9f2066478f9e6e660a4fd68955828b0d8fb50669d9db30a
MD5 abb0350e461c93efc8b74b96d230ef97
BLAKE2b-256 8a5d69c4239c2964e23ffa0632276fc702b475706bdd4614860c48ea35163d7e

See more details on using hashes here.

Provenance

The following attestation bundles were made for s4dl-0.4.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.4.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for s4dl-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 058efd3b39a61417b1b6d1d342930c40615e213fc80d426f34039e413b72e8e3
MD5 8080736201b514fc5002281637e28df3
BLAKE2b-256 b2fdf856c83608056ca78be2d5bc6c14bb9070f6789df8e56058944e56c21805

See more details on using hashes here.

Provenance

The following attestation bundles were made for s4dl-0.4.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