Skip to content

Instantly share code, notes, and snippets.

@EdLeafe
Created March 19, 2013 00:23
Show Gist options
  • Save EdLeafe/5192405 to your computer and use it in GitHub Desktop.
Save EdLeafe/5192405 to your computer and use it in GitHub Desktop.
Demonstration of creating Rackspace Cloud Files containers in different regions.
import pyrax
pyrax.keyring_auth()
cf_ord = pyrax.connect_to_cloudfiles("ORD")
cf_dfw = pyrax.connect_to_cloudfiles("DFW")
my_ord_cont = cf_ord.create_container("test")
my_dfw_cont = cf_dfw.create_container("test")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment