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:
s3resizeimagefolder.py 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.
Source Distribution
S3ImageResize-0.1.6.tar.gz
(2.5 kB
view details)
File details
Details for the file S3ImageResize-0.1.6.tar.gz
.
File metadata
- Download URL: S3ImageResize-0.1.6.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
98a2d23ca35858d642f6463be5cb62219144b5506deea1424d8fa0fd4deb5d54
|
|
MD5 |
ca4326ec3880e706dbbbcb673cb23c75
|
|
BLAKE2b-256 |
9a1e11b7e0215182697e0a337ae365ca84f7e7be3c92186ce8b6329c747540af
|