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
PRO runs processes and restarts them when it observes file changes.

PRO only does two things, but it does them well: it runs processes,
and restarts select processes when their dependent files change.
PRO is designed to be useful for running processes in development, but
there are probably better options for running your processes in production.

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

pip install pro


Usage
-----

pro runfile.py

Your runfile contains the description of which processes to run, and
an optional list of files to observe for each process group. A process
can be defined as a command to run as a string, or as a CMD object,
which can specify a directory in which to run.

Example runfile.py:

import os
from pro import CMD, run

run(CMD('python manage.py runserver 8080', cd='example_project'))
run('python -m SimpleHTTPServer 8888', watch_list=['watchme'])

sass_file = 'static/css/style.sass'
run('sass %s' % sass_file, watch_list=[sass_file])

template_dir="static/templates"
handlebars_inputs=os.path.join(template_dir, '*.handlebars')
handlebars_output=os.path.join(template_dir, 'templates.js')

cmd = 'handlebars `ls %s` -f "%s"' % (handlebars_inputs, handlebars_output)
run(cmd, watch_list=[handlebars_inputs])
Release History

Release History

0.1.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.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
pro-0.1.2.tar.gz (3.4 kB) Copy SHA256 Checksum SHA256 Source Oct 4, 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