Archive for the ‘s3’ Category

Python Libs for S3 - Thanks Hanzo Archives!

Thursday, August 23rd, 2007

I’d been working with the java libs and s3curl for modifying my s3 buckets and found them a pain.  I wanted a python s3 library that I could plug into all of the other python scripts that we’re using for backend glue.  Hanzo-s3-tools to the rescue.  This little library has a good api for talking to s3 and it has a set of command line utilities built on top of it that are both useful on their own and for learning how to use the core libraries.

Here’s the link:  http://code.google.com/p/hanzo-s3-tools/

Here are the utils that come with it:

s3get: download from s3
s3getacl: get access control list from s3
s3ls: list a bucket or buckets
s3mkbucket: make one
s3put: upload a file
s3putacl: set access control
s3rm: remove a key
s3rmbucket: remove the bucket

Thanks Hanzo Archives!