{ "info": { "author": "Phaneendra Chiruvella", "author_email": "hi@pcx.io", "bugtrack_url": null, "classifiers": [], "description": "Shoot\n=====\n\nKick-start your prototype with Django templates\n\n\nWhat is it?\n-----------\n\nIf you want to start prototyping your web app using Django templates,\nwithout needing to setup a complete Django project, *Shoot* does that for you.\n\n*Shoot* is a minimal web server which maps *.html files to URLs, i.e.\nserver_root/path/to.file.html is served at http://host:port/path/to/file.\n\nHTML files are mapped to URLs and rendered as Django templates. You can use\nall the usual Django template goodness, i.e. extending & including other templates,\ntemplate tags like *{% static %}* etc.\n\nIt is like developing with PHP. You can later drop these templates directly into\nyour Django project.\n\n*Shoot* is known to work with Python 3.2 and Django 1.5.\n\nStuff *Shoot* does for you:\n\n- Map .html files to URLs and renders them while serving\n- List dirs and serve static files like any good web server would do\n- Let you pass custom context while rendering templates\n- Lets you pass custom Django settings module\n\n\nInstallation\n------------\n\nOn Ubuntu:\n\nYou will need Pip with Python3::\n\n $ sudo apt-get install python3-setuptools\n $ sudo pip3 install shoot\n $ shoot\n\n\nUsing git::\n\n $ git clone https://github.com/pcx/shoot.git\n $ python3 shoot/setup.py install\n\n\nUsage\n-----\n\nRun '*shoot*' in the directory you want to serve from.\n\n\nCustom Config\n-------------\n\n\nIf the file *shootconfig.py* is present in the dir *shoot* is launched from, with contents::\n\n context = {}\n\n*shoot* will pass this dictionary to Context objects used in rendering templates. You can use this\nto expose a 'user' object in templates, etc.\n\n\nIf the file *django_settings.py* is present in the dir *shoot* is launched from, *shoot*\nwill use it as the DJANGO_SETTINGS_MODULE. You can use this for setting a custom static URL, etc.\nThis file *must* contain the following variables::\n\n DEBUG = True\n TEMPLATE_DEBUG = True\n SECRET_KEY = \"not-so-secret\"\n # helps *shoot* find templates\n TEMPLATE_DIRS = (os.getcwd(),)\n # adds support for '*static*' template tag\n STATIC_URL = \"/static/\"\n INSTALLED_APPS = ('django.contrib.staticfiles',)", "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/pcx/shoot", "keywords": null, "license": "The MIT License (MIT)\n\nCopyright (c) 2013 Phaneendra Chiruvella \n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.", "maintainer": null, "maintainer_email": null, "name": "Shoot", "package_url": "https://pypi.org/project/Shoot/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Shoot/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/pcx/shoot" }, "release_url": "https://pypi.org/project/Shoot/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "Kick-start your prototype with Django templates", "version": "0.1.2" }, "last_serial": 806988, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "e91003ef21f614b44df828e2ba23a353", "sha256": "769a78026f42d2308176ca8fd70a8bf0a1def4b7c894cf1b0ab27069e8260f03" }, "downloads": -1, "filename": "Shoot-0.0.1.tar.gz", "has_sig": false, "md5_digest": "e91003ef21f614b44df828e2ba23a353", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3038, "upload_time": "2013-07-02T14:56:43", "url": "https://files.pythonhosted.org/packages/ed/d5/720c1b41a6ebcd684fc16db4d6d26713e64389fbb87325fd26f1f15edd72/Shoot-0.0.1.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "5488f07b524ed44025eaa1f449b05b6e", "sha256": "0134215d08643509e17af382a3217e37680cefc14963d539c1c4cbb64ec7dc21" }, "downloads": -1, "filename": "Shoot-0.1.0.tar.gz", "has_sig": false, "md5_digest": "5488f07b524ed44025eaa1f449b05b6e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3287, "upload_time": "2013-07-02T22:26:50", "url": "https://files.pythonhosted.org/packages/1c/ec/b0d4fe632df79ead0402b24857a2eb63b6267b8a27710e629d2a0206c99e/Shoot-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "58e1453760718e92154ce3d9aba3796f", "sha256": "eeb529ea0e235f7e162dc4910f15ad22cc1c9b62debc85357c8e2a88dbd98b29" }, "downloads": -1, "filename": "Shoot-0.1.1.tar.gz", "has_sig": false, "md5_digest": "58e1453760718e92154ce3d9aba3796f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3746, "upload_time": "2013-07-03T01:56:30", "url": "https://files.pythonhosted.org/packages/71/c9/29e6a4bc355450aae95eae9bed6cc61520b8f6abd8624c4874fdd4aea153/Shoot-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "9c66ae622cac75ece262cba250fe67a9", "sha256": "da47f44c4c2c53490d71d6ddf408671a3a0b06265f6a02d984e21810cc01ca0c" }, "downloads": -1, "filename": "Shoot-0.1.2.tar.gz", "has_sig": false, "md5_digest": "9c66ae622cac75ece262cba250fe67a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4377, "upload_time": "2013-07-03T11:53:56", "url": "https://files.pythonhosted.org/packages/da/b4/136b78dd894e06cd40e1fb53750a0bbf017ac71c3d29c0100cc98f063921/Shoot-0.1.2.tar.gz" } ], "0.1dev": [] }, "urls": [ { "comment_text": "", "digests": { "md5": "9c66ae622cac75ece262cba250fe67a9", "sha256": "da47f44c4c2c53490d71d6ddf408671a3a0b06265f6a02d984e21810cc01ca0c" }, "downloads": -1, "filename": "Shoot-0.1.2.tar.gz", "has_sig": false, "md5_digest": "9c66ae622cac75ece262cba250fe67a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4377, "upload_time": "2013-07-03T11:53:56", "url": "https://files.pythonhosted.org/packages/da/b4/136b78dd894e06cd40e1fb53750a0bbf017ac71c3d29c0100cc98f063921/Shoot-0.1.2.tar.gz" } ] }