This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!
Project Description
===========
PyGridspot
===========

PyGridspot is a simple python client for the Gridspot API (www.gridspot.com). 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>',\
cache='file',\
cache_file='cache.dat')

il = g.get_instances()

for instance in il.new:
g.bootstrap(os.path.expanduser('~/.ssh/id_rsa'), instance, '/tmp/test.sh')

The above code when executed results in:

aelaguiz$ python test.py
[Instance inst_<INSTANCE_ID> = Running]
[69.4.239.72:64333] put: /tmp/test.sh -> /tmp/test.sh
[69.4.239.72:64333] sudo: chmod +x /tmp/test.sh && /tmp/test.sh && exit
[69.4.239.72:64333] out: Ign http://security.ubuntu.com oneiric-security InRelease
[69.4.239.72:64333] out: Ign http://us.archive.ubuntu.com oneiric InRelease
[69.4.239.72:64333] out: Ign http://us.archive.ubuntu.com 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.

Dependencies
===========

Fabric >= 1.4.3
httplib2 >= 0.7.4

Contributing
===========

Fork, submit pull request.

Changelog
========

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.
Release History

Release History

0.0.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.1dev

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
PyGridspot-0.0.2.tar.gz (8.6 kB) Copy SHA256 Checksum SHA256 Source Jul 16, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting