lericson / simples3

Simple, quick Amazon AWS S3 interface in Python
BSD 2-Clause "Simplified" License
96 stars 36 forks source link

Bucket creation #1

Closed lericson closed 15 years ago

lericson commented 15 years ago

One should be able to create buckets. Suggested API for this is either:

from simples3 import S3Bucket
b = S3Bucket("foo", ...)
b.create(acl="public-read")

or class-style (a bit better IMO):

from simples3 import S3Bucket
b = S3Bucket.create_new("foo", ..., acl="public-read")

There are other suggestions as well, including module-level functions.

lericson commented 15 years ago

Fixed in 00ed9ac

lericson commented 15 years ago

Second attempt, lericson/simples3@00ed9ac76fd91e53bbec4f495eaa91906da8a94f