This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
repython
========

repython is a utility to run a command and then restart it based
on filesystem changes. It's useful for quickly testing changes to a
running program. For instance, Django uses a similar but more
sophisticated method to reload its source code when it detects
a change.

repython uses the pyinotify library to make monitoring for changes
efficient compared to just polling the filesystem.

Installation
------------

Dependencies:

* [pyinotify](https://github.com/seb-m/pyinotify)
* [twiggy](http://hg.wearpants.org/twiggy/)

You can install the repython module using:

$ python setup.py install

repython is also available from the Cheeseshop:

$ pip install repython

Or using setuptools:

$ easy_install repython

Usage
-----

Basic example:

$ python -m repython "python example.py"

This would open the command in a subprocess and recursively monitor
the current working directory for any changed files matching the *.py
filename pattern (default behavior).

repython is not limited to running Python programs, so a command like
this should work as well:

$ python -m repython "ruby example.rb" -p "*.rb" "*.txt"

The `-p` or `--pattern` arguments determine which file changes
trigger restarting the run command.

The `-d` or `--directory` arguments allow monitoring other directories
than the current working directory. It can be used like this:

$ python -m repython "python example.py" -d . ~/example

This command would make repython recursively monitor (i.e., including
subdirectories) both the working directory and the
`~/example` directory.

The `-v` or `--verbose` argument can be used to get more detailed
output from repython, and the `-q` or `--quiet` argument can be used
to suppress repython output.

For more details please see:

$ python -m repython --help

Known issues
------------

[Python issue #9338](http://bugs.python.org/issue9338) causes the
argument order to be wrong in the generated usage instructions
(shown when using the `--help` argument). The `command` argument should
come before the optional arguments for the tool to work.
Release History

Release History

0.1.4

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.1.3

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.1.2

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.1.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.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

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
repython-0.1.4.tar.gz (3.4 kB) Copy SHA256 Checksum SHA256 Source Jul 24, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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