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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for s4dl-0.4.1.tar.gz
Algorithm Hash digest
SHA256 3f275814515fdf7d2c88e1caf3e28b22ef949714ef67e6979048df1f8edb924c
MD5 835b9f5df0f11df8130c355eb93270e2
BLAKE2b-256 81482b9a15c01d8c71485ad1f3875842e82eea55eeccfd5ac4f704025fe5a0f8

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: s4dl-0.4.1-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.13.7

File hashes

Hashes for s4dl-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d83275192e0b98df5a15f08a8fd7e7f51d6ed9b47159e08848bf371ea779c427
MD5 ec2e664cab9037f5398db30e6ff81bb7
BLAKE2b-256 bed1037a14202652ff2b088e9c12c247217c7d17740300bc3a7a90f32ba81728

See more details on using hashes here.

Provenance

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