Name: python-twisted-service-registry-client
Owner: racker
Description: A Twisted Python client for Rackspace Service Registry.
Created: 2012-08-15 03:38:17.0
Updated: 2013-11-01 09:51:11.0
Pushed: 2013-03-28 21:07:10.0
Size: 260
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A Twisted Python client for Rackspace Service Registry.
pip install --upgrade txServiceRegistry
Note: You need to install Python header files otherwise the installation will
fail. On debian based distributions you can obtain them by installing
python-dev
package.
This library is distributed under the Apache license.
txServiceRegistry import Client
twisted.internet import reactor
twisted.web.client import Agent
SPACE_USERNAME = 'username'
SPACE_KEY = 'api key'
nt = Client(RACKSPACE_USERNAME, RACKSPACE_KEY)
something
tor.run()
resultCallback(result):
print result
reactor.stop()