This project aims to give you a more sane interface to RightScale than would
hacking at the REST api yourself.
This project is a work in progress. If you want features added, file a bug or
send me a patch and it’ll get in. If there’s a bug, let me know.
We are using it in production at Loggly.com.
Releases of this can be found on Python PI: http://pypi.python.org/pypi/rightscale/
I accept all manner of communcation and patches. You are welcome to fork, file
bugs on github (http://github.com/jordansissel/python-rightscale/issues) or
email me at jls@semicomplete.com.
from rightscale import RightScale rsapi = RightScale(account_number, username, password) # Find 'me' in RightScale. myself = rsapi.whoami() # What does RightScale call me? (The server name in the UI) print myself.nickname # Change my server name in RightScale myself.nickname = "New server name" myself.save() # What tags do I have? print myself.tags # How many servers do we have? print len(rsapi.servers)
This library was written by Jordan Sissel and is made open source by Loggly,
Inc.