{ "info": { "author": "Daniel Kaufhold", "author_email": "daniel.kaufhold@bitmazk.com", "bugtrack_url": null, "classifiers": [], "description": "Django command interface\n========================\n\nA reusable Django app that allows to list manage.py commands and lauch them \nwith one click.\n\nInstallation\n------------\n\nTo get the latest stable release from PyPi\n\n.. code-block:: bash\n\n pip install django-command-interface\n\nTo get the latest commit from GitHub\n\n.. code-block:: bash\n\n pip install -e git+git://github.com/bitmazk/django-command-interface.git#egg=command_interface\n\nTODO: Describe further installation steps (edit / remove the examples below):\n\nAdd ``command_interface`` to your ``INSTALLED_APPS``\n\n.. code-block:: python\n\n INSTALLED_APPS = (\n ...,\n 'command_interface',\n )\n\nAdd the ``command_interface`` URLs to your ``urls.py``\n\n.. code-block:: python\n\n urlpatterns = patterns('',\n ...\n url(r'^command-interface/', include('command_interface.urls')),\n )\n\nThis app uses the Django messages framework, so you need to add\n``django.contrib.messages.middleware.MessageMiddleware`` to your\n``MIDDLEWARE_CLASSES`` setting.\n\nYou HAVE to have `DJANGO_PROJECT_ROOT` in your settings pointing towards the\ndirectory of your `manage.py` file.\n\n\n\nUsage\n-----\n\nJust visit the command interface main panel at view name\n``command_interface_main`` and see listed all the commands, that you can\nexecute just by clicking \"Run command\".\n\nThat's it.\n\n\nPassing arguments to the commands is still WIP.\n\n\nSettings\n--------\n\nCOMMAND_INTERFACE_DISPLAYED_APPS\n++++++++++++++++++++++++++++++++\n\nYou can limit the displayed apps by setting\n``COMMAND_INTERFACE_DISPLAYED_APPS``. The syntax is the same as it is in the\n``INSTALLED_APPS`` setting. It defaults to showing absolutely all apps.\n\n.. code-block:: python\n\n # would list all commands of the awesome_app\n COMMAND_INTERFACE_DISPLAYED_APPS = ['awesome_app']\n\nCOMMAND_INTERFACE_DISPLAYED_COMMANDS\n++++++++++++++++++++++++++++++++++++\n\nFurther you can also provide a list of commands, that should explicitly be\ndisplayed. Defaults to all as well.\n\n.. code-block:: python\n\n # would on its own only show the mycommand command\n COMMAND_INTERFACE_DISPLAYED_COMMANDS = ['mycommand']\n\n\nThe settings don't exclude each other. So displaying any full app and just one\nor two specific commands from somewhere else is no problem at all.\n\nCOMMAND_INTERFACE_LOGFILE_PATH\n++++++++++++++++++++++++++++++\n\nFor logging, you can specify a logfile path, where logfiles for each command\ncan be created. The logfiles will always be prefixed with\n``command_interface_log-``.\n\n..code-block:: python\n\n COMMAND_INTERFACE_LOGFILE_PATH = '/home/myname/tmp/logs/'\n\nThis value defaults to ``None``, which means, that no logs are created.\n\nThe log of the last run is then displayed on the command interface main view\nunder each respective command.\n\nContribute\n----------\n\nIf you want to contribute to this project, please perform the following steps\n\n.. code-block:: bash\n\n # Fork this repository\n # Clone your fork\n mkvirtualenv -p python2.7 django-command-interface\n make develop\n\n git co -b feature_branch master\n # Implement your feature and tests\n git add . && git commit\n git push -u origin feature_branch\n # Send us a pull request for your feature branch", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bitmazk/django-command-interface", "keywords": "django,app,reusable,command,admin,management", "license": "The MIT License", "maintainer": null, "maintainer_email": null, "name": "django-command-interface", "package_url": "https://pypi.org/project/django-command-interface/", "platform": "OS Independent", "project_url": "https://pypi.org/project/django-command-interface/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/bitmazk/django-command-interface" }, "release_url": "https://pypi.org/project/django-command-interface/0.5/", "requires_dist": null, "requires_python": null, "summary": "A reusable Django app that allows to list manage.py commands and lauch them with one click", "version": "0.5" }, "last_serial": 2318465, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "0a96578e2fe6ca002e700d0cc3d68786", "sha256": "7c15b1ab27e23736a9baeeb869d406cd5d1ba4b76ed7fa0fef18614b23c94833" }, "downloads": -1, "filename": "django-command-interface-0.1.tar.gz", "has_sig": false, "md5_digest": "0a96578e2fe6ca002e700d0cc3d68786", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11250, "upload_time": "2014-01-26T13:35:58", "url": "https://files.pythonhosted.org/packages/f9/90/5bfa9a61db7844ccd04752ba2e5ef53c6131118648e2cd8633708c7f689b/django-command-interface-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "a6e40f7c4b520a18eb1894f4409ec1cf", "sha256": "60939c2fe4bf00f758fa26ecf8ed62663816840840d69041aa0325e273d9aa73" }, "downloads": -1, "filename": "django-command-interface-0.2.tar.gz", "has_sig": false, "md5_digest": "a6e40f7c4b520a18eb1894f4409ec1cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12498, "upload_time": "2014-03-19T11:38:23", "url": "https://files.pythonhosted.org/packages/80/7c/c6df20369a85370a9e2bea148b460dea90f7f36a34d0e513161714834d27/django-command-interface-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "94800103003377e6506252aa0d046e4a", "sha256": "43beff1966ecab93274b27cacd79aa6d604888e5b26efc77298dcbc5eb06e3cc" }, "downloads": -1, "filename": "django-command-interface-0.3.tar.gz", "has_sig": false, "md5_digest": "94800103003377e6506252aa0d046e4a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12601, "upload_time": "2014-03-19T14:27:51", "url": "https://files.pythonhosted.org/packages/86/0b/eb4702c93ef6010462887417386885a6cd81c86a0516977a3867305ccc79/django-command-interface-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "4749a0e201a9b222ff5e928e0a2bf6b1", "sha256": "87ca78955f9ed486357354792a190d34596478859bde1012f3d0b43e70c903a1" }, "downloads": -1, "filename": "django-command-interface-0.4.tar.gz", "has_sig": false, "md5_digest": "4749a0e201a9b222ff5e928e0a2bf6b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13193, "upload_time": "2014-03-20T07:36:41", "url": "https://files.pythonhosted.org/packages/be/d7/576867355b52ee887fce68f153b6d606064c95656c90dc568ede521eac84/django-command-interface-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "6263824e865d1cee7dcff1103c7ea46b", "sha256": "08d96e501c0a8b02921311dfe52c2ec8cf3346360827cbfb410198634827c593" }, "downloads": -1, "filename": "django-command-interface-0.5.tar.gz", "has_sig": false, "md5_digest": "6263824e865d1cee7dcff1103c7ea46b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11290, "upload_time": "2016-09-01T13:18:51", "url": "https://files.pythonhosted.org/packages/d7/8d/34ae83bb93306fb0e8d80d951ba7ace7325785bfcfdfc4f6eb55eb7a0558/django-command-interface-0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6263824e865d1cee7dcff1103c7ea46b", "sha256": "08d96e501c0a8b02921311dfe52c2ec8cf3346360827cbfb410198634827c593" }, "downloads": -1, "filename": "django-command-interface-0.5.tar.gz", "has_sig": false, "md5_digest": "6263824e865d1cee7dcff1103c7ea46b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11290, "upload_time": "2016-09-01T13:18:51", "url": "https://files.pythonhosted.org/packages/d7/8d/34ae83bb93306fb0e8d80d951ba7ace7325785bfcfdfc4f6eb55eb7a0558/django-command-interface-0.5.tar.gz" } ] }