Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (23 sloc) 0.799 kb

Python Twisted Rackspace Service Registry client

A Twisted Python client for Rackspace Service Registry.

Installation

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.

License

This library is distributed under the Apache license.

Usage

from txServiceRegistry import Client
from twisted.internet import reactor
from twisted.web.client import Agent

RACKSPACE_USERNAME = 'username'
RACKSPACE_KEY = 'api key'

client = Client(RACKSPACE_USERNAME, RACKSPACE_KEY)

# Do something
reactor.run()

def resultCallback(result):
    print result
    reactor.stop()
Jump to Line
Something went wrong with that request. Please try again.