Skip to main content

runcommands: execute system commands from views

Project description

Build Status

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

Project details


Release history Release notifications

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-runcommands, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size django_runcommands-0.1-py2.py3-none-any.whl (5.7 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size django-runcommands-0.1.tar.gz (6.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page