Skip to content
No description or website provided.
Python
Latest commit 914648d Feb 3, 2013 @schwa Moved python

README.markdown

S3-Uploader

Sample Python & Objective-C showing how to upload to amazon S3 without uploading through an intermediate web-service. The basic theory is explained here: http://aws.amazon.com/articles/1434

Project consists of a sample Python Flask based server app (suitable for hosting on heroku) that hosts a simple upload form that uploads files directly to Amazon S3.

Set up (and activate) the python virtual environment:

$ source tools/setup.py

Set up the Amazon S3 info

$ export 'AWS_ACCESS_KEY_ID=XXXX'
$ export 'AWS_SECRET_ACCESS_KEY=XXXX'
$ export 'S3_BUCKET_NAME=XXXX'

Run the server:

$ python app.py

Visit the upload page on http://localhost:5000/

Also included is a small python command line tool for uploading and an Objective-C sample code that uploads data via multipart form. See the 'Clients' folder.

Something went wrong with that request. Please try again.