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.1.0.tar.gz (3.7 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.1.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for s4dl-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5d7e07ac365a90d49aba97ef54875df109fd2d2d74842f0cc2369efb864f00d5
MD5 086908d707cdd0bac34336eeea09e28e
BLAKE2b-256 46a3a1dbbf977499dd32d3c932a006099ffe6abe0d08f9a224290ee07668d239

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: s4dl-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d1e4fe4b4ed9adcfdb5ff0142c2d990fd2d52ce220dde7e9e703d33292a00dc
MD5 f1c2a95bc61eb432dcaca233a02bd953
BLAKE2b-256 8a9b9bdfc03ff3930ec2e79b541a9c8e400389c92efbf061de91976738a8b237

See more details on using hashes here.

Provenance

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