Skip to main content

Client for the Gridspot computing service.

Project description


PyGridspot is a simple python client for the Gridspot API ( It is
intended to make managing gridspot vms easier. Typical usage looks like:

import os
from pygridspot import *

g = Gridspot(api_key='<YOUR API KEY>',\

il = g.get_instances()

for instance in
g.bootstrap(os.path.expanduser('~/.ssh/id_rsa'), instance, '/tmp/')

The above code when executed results in:

aelaguiz$ python
[Instance inst_<INSTANCE_ID> = Running]
[] put: /tmp/ -> /tmp/
[] sudo: chmod +x /tmp/ && /tmp/ && exit
[] out: Ign oneiric-security InRelease
[] out: Ign oneiric InRelease
[] out: Ign oneiric-updates InRelease

The key improvement over a simple REST client is the support for automatic bootstrapping
of the new VMs using the Fabric SSH API to push a setup script and run it on any new VMs.


Fabric >= 1.4.3
httplib2 >= 0.7.4


Fork, submit pull request.


v0.0.2, 7/16/2012 -- Brought code up to pep8 standards, added support for stop_instance.

v0.0.1, 7/12/2012 -- Fixed missing readme in sdist package. Initial release.

v0.0.1dev, 7/12/2012 -- Initial upload.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for PyGridspot, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size PyGridspot-0.0.2.tar.gz (8.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page