An open API service indexing awesome lists of open source software.

https://github.com/bendog/zappa_s3_resize

An AWS Lambda to automatically resize S3 bucket image files, using Python3, Zappa and Pillow.
https://github.com/bendog/zappa_s3_resize

Last synced: about 1 year ago
JSON representation

An AWS Lambda to automatically resize S3 bucket image files, using Python3, Zappa and Pillow.

Awesome Lists containing this project

README

          

# Zappa S3 resize
An AWS Lambda to automatically resize S3 bucket image files, using Python3, Zappa and Pillow.

When a file is uploaded to the bucket specified in `zappa_settings.json`, the lambda will execute and create the image sizes specified in `config.py`

Inspired in part by [zappa_resize_image_on_fly](https://github.com/wobeng/zappa_resize_image_on_fly)

## Install

$ pip install -U -r requirements.txt

## Configure

create a `config.py` file, following the example file `config_example.py`, and specify your own aws settings in a `zappa_settings.json` based on `zappa_settings_example.json`

## Deploy

as specified in the [Zappa](https://github.com/Miserlou/Zappa)