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

Uploaded Python 3

File details

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

File metadata

  • Download URL: s4dl-0.4.2.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.2.tar.gz
Algorithm Hash digest
SHA256 37d23021354daf0ce8289f559f459d33d24fa05edc25cf2bcd6b80ba42adb5c5
MD5 dab90c6d6925d577d4bed5c83cb09591
BLAKE2b-256 3cc39a733187ec3ed74f190fea595d73b397eab501cd16ece6cae53c4993726f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: s4dl-0.4.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 30c473a57aeb8a7b7a1104f98284a5be60ddb5bda9d304390be2a7408cc81518
MD5 3a94cc146f8c53866319b3dd609cdceb
BLAKE2b-256 2a67d7fcec76126a0eabd0afe2db5385978b85e8bd9d6612b7c75694cd280438

See more details on using hashes here.

Provenance

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