{ "info": { "author": "Manuel Albarran", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "flask-jade2underscore\n===============\n\nA small Flask extension that makes it easy to use Jade to Underscore templates compiler (used in Backbone) with your Flask application.\n\nUsage\n-----\n\nYou can activate it by calling the ``jade2underscore`` function with your Flask app as a parameter:\n\n from flaskext.jade2underscore import jade2underscore\n jade2underscore(app, underscore_folder='underscore', jade_folder='src/jade')\n\nThis will intercept the request to ``underscore_folder`` and compile de file if is necesary using the files from ``jade_folder``.\n\nWhen you deploy your app you might not want to accept the overhead of checking the modification time of your ``.jade`` and ``.tpl`` files on each request. A simple way to avoid this is wrapping the jade2underscore call in an if statement:\n\n if app.debug:\n from flaskext.jade2underscore import jade2underscore\n jade2underscore(app)\n \nIf you do this you'll be responsible for rendering the ``.jade`` files into ``.tpl`` when you deploy in non-debug mode to your production server.\n\n\n- documentation_\n- development_\n\n\n.. _documentation: https://github.com/weapp/flask-jade2underscore\n.. _development: https://github.com/weapp/flask-jade2underscore", "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/weapp/flask-jade2underscore", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "flask-jade2underscore", "package_url": "https://pypi.org/project/flask-jade2underscore/", "platform": "any", "project_url": "https://pypi.org/project/flask-jade2underscore/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/weapp/flask-jade2underscore" }, "release_url": "https://pypi.org/project/flask-jade2underscore/0.1/", "requires_dist": null, "requires_python": null, "summary": "A small Flask extension adds suppot to Jade2Underscore templates compiler (used in Backbone) to Flask.", "version": "0.1" }, "last_serial": 792035, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "dbe5a75f9c93c3eb10b591cd0a7fc59b", "sha256": "7dcadb57eb1f91b1ce45d16726b957b226942a7968f12bf3ad302dbe7b738b3b" }, "downloads": -1, "filename": "flask-jade2underscore-0.1.zip", "has_sig": false, "md5_digest": "dbe5a75f9c93c3eb10b591cd0a7fc59b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6098, "upload_time": "2012-09-08T13:27:18", "url": "https://files.pythonhosted.org/packages/81/a8/c8d0acd1e1fc0436b65282d3bb90e6f039e9b0e0a36672ffbaa82b23d732/flask-jade2underscore-0.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dbe5a75f9c93c3eb10b591cd0a7fc59b", "sha256": "7dcadb57eb1f91b1ce45d16726b957b226942a7968f12bf3ad302dbe7b738b3b" }, "downloads": -1, "filename": "flask-jade2underscore-0.1.zip", "has_sig": false, "md5_digest": "dbe5a75f9c93c3eb10b591cd0a7fc59b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6098, "upload_time": "2012-09-08T13:27:18", "url": "https://files.pythonhosted.org/packages/81/a8/c8d0acd1e1fc0436b65282d3bb90e6f039e9b0e0a36672ffbaa82b23d732/flask-jade2underscore-0.1.zip" } ] }