pyrax
Python Bindings for the Rackspace Cloud
|
Classes | |
class | Fault_cls |
class | Container |
class | ContainerManager |
class | StorageObject |
This class represents an object stored in a Container. More... | |
class | StorageObjectIterator |
Allows you to iterate over all the objects in a container, even if they exceed the limit for any single listing call. More... | |
class | StorageObjectManager |
Handles all the interactions with StorageObjects. More... | |
class | StorageClient |
This is the primary class for interacting with OpenStack Object Storage. More... | |
class | FolderUploader |
Threading class to allow for uploading multiple files in the background. More... | |
class | BulkDeleter |
Threading class to allow for bulk deletion of objects from a container. More... | |
Functions | |
def | assure_container |
Assures that whether a Container or a name of a container is passed, a Container object is available. | |
def | get_file_size |
Returns the size of a file-like object. | |
Variables | |
string | ACCOUNT_META_PREFIX = "X-Account-Meta-" |
string | CONTAINER_META_PREFIX = "X-Container-Meta-" |
string | CONTAINER_HEAD_PREFIX = "X-Container-" |
string | OBJECT_META_PREFIX = "X-Object-Meta-" |
int | MAX_FILE_SIZE = 5368709119 |
int | DEFAULT_CHUNKSIZE = 65536 |
int | DEFAULT_CDN_TTL = 86400 |
string | EARLY_DATE_STR = "1900-01-01T00:00:00" |
tuple | FAULT = Fault_cls() |
def pyrax.object_storage.assure_container | ( | fnc | ) |
def pyrax.object_storage.get_file_size | ( | fileobj | ) |
Returns the size of a file-like object.
string ACCOUNT_META_PREFIX = "X-Account-Meta-" |
string CONTAINER_HEAD_PREFIX = "X-Container-" |
string CONTAINER_META_PREFIX = "X-Container-Meta-" |
int DEFAULT_CDN_TTL = 86400 |
int DEFAULT_CHUNKSIZE = 65536 |
string EARLY_DATE_STR = "1900-01-01T00:00:00" |
int MAX_FILE_SIZE = 5368709119 |
string OBJECT_META_PREFIX = "X-Object-Meta-" |