Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (
Help us improve Python packaging - Donate today!

A process remote launcher.

Project Description


This project contains a python library used to run asynchronous and dependent ssh tasks.


from yassh import *

r = Reactor()
c1 = Command('cmd1', r, 'localhost', 'user', 'sleep 5')
c2 = Command('cmd2', r, 'localhost', 'user', 'echo ok')
c3 = Command('cmd3', r, 'localhost', 'user', 'echo "finished" && sleep 1')

# Start cmd2 when cmd1 complete
def on_c1_exit(): c2.start()

# Start cmd3 when cmd2 complete
def on_c2_ok(): c3.start()
c2.register_monitor('ok', on_c2_ok)

# Stop reactor when cmd3 complete
on_c3_exit(): r.stop()
# Print dummy message when c3 is near terminaison
on_c3_finished(): print 'c3 almost finished'
c3.register_monitor('finished', on_c3_finished)

# Start first task

timeout = -1
while > 0:


To install latest release:

pip install yassh

To install latest code:

pip install git+


Run from project root:



MIT License (see LICENSE)

Release History

Release History

This version
History Node


History Node


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
yassh-0.1.0b2-py2.py3-none-any.whl (9.6 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Feb 8, 2016
yassh-0.1.0b2.tar.gz (4.6 kB) Copy SHA256 Checksum SHA256 Source Feb 8, 2016

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