Skip to content

dwelch00/python-rightscale

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python RightScale API

This project aims to give you a more sane interface to RightScale than would
hacking at the REST api yourself.

Current State

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.

Installing

Releases of this can be found on Python PI: http://pypi.python.org/pypi/rightscale/

Contributing

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.

Examples

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)

Author

This library was written by Jordan Sissel and is made open source by Loggly,
Inc.

About

An object-oriented interface to RightScale's API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published