| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
Storage --+
|
S3Storage
|
|||
|
|||
|
|||
|
|||
| object |
|
||
| StorageResourceInfo or subclass |
|
||
| object |
|
||
| string |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
| bool |
|
||
| dict |
|
||
| tuple |
|
||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Amazon S3 storage for amplee. http://www.amazon.com/gp/browse.html?node=16427261 If the buck does not exist this storage will create it transparently. Keyword arguments aws_access_key_id -- Amazon S3 publick key aws_secret_access_key -- Amazon S3 private key unique_prefix -- Unique prefix used for the creation of buckets encoding -- when your content is unicode it has to be encoded before being sent to the Amazon servers (default: utf-8) separator -- character used to join the prefix and the bucket aws_key_lookup -- a callback that takes one argument and that returns a tuple with the public_key and the secret_key (see below) aws_file_path -- the argument passed to aws_key_lookup is the path to the file containing the AWS keys Set it to something really unique and not None!
|
|
|
|
Returns the content of the resource at 'info' as a string Keyword argument: info -- as returned by info()
|
Returns the content of the resource at 'info' as a string Keyword argument: info -- as returned by info()
|
Updates the content of the resource at 'info' Keyword argument: info -- as returned by info() content -- content as a string or a file object to be persisted into the bucket. If a file object is provided it will be closed automatically. media_type -- mime type of the resource (default:None)
|
Updates the content of the resource at 'info' Keyword argument: info -- as returned by info() content -- content as a string or a file object to be persisted into the bucket. If a file object is provided it will be closed automatically. media_type -- mime type of the resource (default:None)
|
Removes the resource at 'info' Keyword argument: info -- as returned by info()
|
Removes the resource at 'info' Keyword argument: info -- as returned by info()
|
|
|
List all the members in a collection and returns them as a dictionnary. Keyword argument: collection_name -- the name of the collection to browse
|
Yields members in a collection and returns them as a tuple. Keyword argument: collection_name -- the name of the collection to browse
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Sun Feb 17 14:54:46 2008 | http://epydoc.sourceforge.net |