Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Twisted Python client for Rackspace Service Registry.
Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
txServiceRegistry
utils
.gitignore
.travis.yml
LICENSE.txt
MANIFEST.in
README.md
requirements.txt
setup.py

README.md

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()
Something went wrong with that request. Please try again.