|
pyrax
Python Bindings for the Rackspace Cloud
|
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... | |
Functions | |
| def | handle_swiftclient_exception |
| Swiftclient often leaves the connection open. | |
Variables | |
| string | EARLY_DATE_STR = "1900-01-01T00:00:00" |
| int | CONNECTION_TIMEOUT = 20 |
| int | CONNECTION_RETRIES = 5 |
| int | AUTH_ATTEMPTS = 2 |
| tuple | no_such_container_pattern = re.compile(r"Container 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) |
Swiftclient often leaves the connection open.
| int AUTH_ATTEMPTS = 2 |
| int CONNECTION_RETRIES = 5 |
| int CONNECTION_TIMEOUT = 20 |
| string EARLY_DATE_STR = "1900-01-01T00:00:00" |
| string etag_fail_pat = r"Object PUT failed: .+/([^/]+)/(\S+) 422 Unprocessable Entity" |
| tuple etag_failed_pattern = re.compile(etag_fail_pat) |
| tuple no_such_container_pattern = re.compile(r"Container GET|HEAD failed: .+/(.+) 404") |
1.7.6.1