Skip to content

Instantly share code, notes, and snippets.

@fernandoflorez
Created September 14, 2013 15:49
Show Gist options
  • Save fernandoflorez/6563078 to your computer and use it in GitHub Desktop.
Save fernandoflorez/6563078 to your computer and use it in GitHub Desktop.
import pyrax
if __name__ == '__main__':
pyrax.set_setting('identity_type', 'rackspace')
pyrax.set_credentials('username', 'api_key')
cf = pyrax.cloudfiles
container = cf.get_container('container_name')
container.delete_all_objects()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment