runcommands: execute system commands from views
Project description
runcommands: execute system commands from urls.
Authors: Mathieu Agopian and contributors
Licence: BSD
Compatibility: Django 1.4+, python2.7 and python3.3
Project URL: https://github.com/magopian/django-runcommands
Documentation: http://django-runcommands.rtfd.org/
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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-runcommands-0.1.tar.gz.
File metadata
- Download URL: django-runcommands-0.1.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f943c568e6640d94014c98584c713058063f1a22b17f256898feea7d4f55b4e
|
|
| MD5 |
3ef0ef93ed1784ce47970aeaa260c13d
|
|
| BLAKE2b-256 |
54bf6df9ae2d544c03f1995835e8ca59c6bd706c73c92130186760a1b30585ae
|
File details
Details for the file django_runcommands-0.1-py2.py3-none-any.whl.
File metadata
- Download URL: django_runcommands-0.1-py2.py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c90eca1f59f8a047ff99398df35a885c01a6206bee7995474316788101f0c6b6
|
|
| MD5 |
3c47e50af73ebd52f9e89a210baf1311
|
|
| BLAKE2b-256 |
5bb5bff49ce0b526652e755c867bda7e5265fe70568843f9a1e0c64d4a9f8490
|