Sisyphus
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
Linux ≥ 2.6.13
[pyinotify](https://github.com/seb-m/pyinotify)
Both Python 2.x and 3.x are supported
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
Metadata
Release files for sis 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sis-0.1.5.tar.gz | 4.2 kB | Without provenance | Details for sis-0.1.5.tar.gz |
Release files / sis-0.1.5.tar.gz
| Download URL | sis-0.1.5.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c765d73e020e011ce051cf908e11f01714f05737033f2ca2bebd95e01cc6ab3e
|
|
BLAKE2b-256 checksum How to use checksums |
3d3f51355e5a1accfcd3343edef993834b3baad9214fa8e049818de3b32b9e11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for sis 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.