pyrax
pyrax copied to clipboard
The Python SDK for the Rackspace Cloud
I have a script (http://www.github.com/ephur/cloud_dns) that is meant for bulk adding DNS records, in the range of 4 to 600 a records. I break the operations up into chunks of...
Snippet: ``` obj_list = cont.get_objects() for obj in obj_list: print "%s\t\t%s\t\t%s" % (obj.name, obj.total_bytes, obj.last_modified) dt = dateutil.parser.parse(obj.last_modified) dt = dt.astimezone(dateutil.tz.tzutc()) print dt now = datetime.now(dateutil.tz.tzutc()) print now duration =...
See: http://docs.rackspace.com/files/api/v1/cf-devguide/content/Extract_Archive-d1e2338.html
Ok, this one does have to do with swiftclient. While running a long-running process, some of the objects I try to get from Rackspace produce the following error (in pyrax...
Swift enables you to set a time on an object for its expiration; in other words, set a time after which it will automatically be deleted. This is able to...