Python RightScale API
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.
At present, I have stopped putting effort into this project due to
difficulties in working with RightScale’s API. The API is lacking in features
and has many places where documentation does not align with reality. I file
requests with RightScale as I find new problems, but I wont likely be working
on this project until more of the issues are resolved.
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 firstname.lastname@example.org.
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,