pyrax
Python Bindings for the Rackspace Cloud
Classes | Packages | Functions | Variables
pyrax/cf_wrapper/client.py File Reference

Classes

class  CFClient
 Wraps the calls to swiftclient with objects representing Containers and StorageObjects. More...
class  Connection
 This class wraps the swiftclient connection, adding support for CDN. More...
class  FolderUploader
 Threading class to allow for uploading multiple files in the background. More...

Packages

namespace  pyrax::cf_wrapper::client

Functions

def handle_swiftclient_exception
 Swiftclient often leaves the connection open.

Variables

string EARLY_DATE_STR = "1900-01-01T00:00:00"
string DATE_FORMAT = "%Y-%m-%dT%H:%M:%S"
string HEAD_DATE_FORMAT = "%a, %d %b %Y %H:%M:%S %Z"
int CONNECTION_TIMEOUT = 20
int CONNECTION_RETRIES = 5
int AUTH_ATTEMPTS = 2
tuple no_such_container_pattern
tuple no_such_object_pattern = re.compile(r"Object (?:GET|HEAD) failed: .+/(.+) 404")
string etag_fail_pat = r"Object PUT failed: .+/([^/]+)/(\S+) 422 Unprocessable Entity"
tuple etag_failed_pattern = re.compile(etag_fail_pat)
 All Classes Namespaces Files Functions Variables Properties