Skip to main content

Script to resize images on S3.

Project description

Resize images hosted on Amazon S3 using Pillow

## Installation

pip install s3imageresize

## Usage

Make sure your AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY are exported as environmental variables

In code:

from s3imageresize import resize_image_folder resize_image_folder(bucket_name, prefix, (width, height))

From the command line: bucketname prefix width height

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for S3ImageResize, version 0.1.6
Filename, size File type Python version Upload date Hashes
Filename, size S3ImageResize-0.1.6.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page