Skip to main content
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!

Sisyphus command runner

Project Description

Sisyphus is a little helper script to re-run arbitrary commands over and over again. Poor Sisyphus will execute the argument list as a command, monitor the current directory for changes and re-run the command each time a modification is detected. Also, it will terminate a long-running command when a modification is detected and start over.

It is based on the pyinotify example script “[autocompile.py](https://github.com/seb-m/pyinotify/blob/master/python2/examples/autocompile.py)”.

You can use Sisyphus to

  • auto-compile your program
  • auto-run your test suite
  • auto-restart your development server
  • auto-refresh your browser (i.e., via [MozRepl](https://github.com/bard/mozrepl/wiki)) when doing web development
  • auto-restart your unsuccessful shell command until it succeeds.

It can be convenient to see the output of your program as soon as you save it, without leaving your editor. But remember: Your actions might put Sisyphus in an existential crisis where it is faced with questions about the absurdity of life.

Requirements

Installation

pip install sis

Examples

sis -d src make

sis -e hs cabal test

sis -s ‘lynx -dump http://my-web-app/

Ignore patterns

Sisyphus will ignore changes in files matching any regex pattern found in the following files:

  • /etc/sisignore
  • ~/.sisignore
  • .sisignore
Release History

Release History

This version
History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

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
sis-0.1.5.tar.gz (4.2 kB) Copy SHA256 Checksum SHA256 Source Oct 20, 2014

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