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!

runcommands: execute system commands from views

Project Description

runcommands: execute system commands from urls.

Quickstart

Install the application:

pip install django-runcommands

And then add an entry for the runcommand’s view in your URLCONF, for each command you wish to make accessible:

# urls.py
from runcommands.views import RunCommandView


urlpatterns = patterns(
    '',
    url(r'^hello-world/$',
        RunCommandView.as_view(command='echo Hello World')),
)

Your command output is now available at the url /hello-world/.

Hacking

Setup your environment:

git clone https://github.com/magopian/django-runcommands.git
cd django-runcommands

Hack and run the tests using Tox to test on all the supported python and Django versions:

make test

Changelog

0.1 (2013-06-18)

  • first version
Release History

Release History

This version
History Node

0.1

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
django_runcommands-0.1-py2.py3-none-any.whl (5.7 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Nov 14, 2013
django-runcommands-0.1.tar.gz (6.5 kB) Copy SHA256 Checksum SHA256 Source Jun 18, 2013

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