{ "info": { "author": "Hsiaoming Yang", "author_email": "me@lepture.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Flask-Turbolinks\n================\n\n.. image:: https://travis-ci.org/lepture/flask-turbolinks.png?branch=master\n :target: https://travis-ci.org/lepture/flask-turbolinks\n.. image:: https://coveralls.io/repos/lepture/flask-turbolinks/badge.png?branch=master\n :target: https://coveralls.io/r/lepture/flask-turbolinks\n\nTurbolinks for Flask.\n\n\nTurbolinks\n----------\n\nTurbolinks makes following links in your web application faster. For more\ninformation, visit the original rails repo: `turbolinks.js`_.\n\n\nInstallation\n------------\n\nTo install Flask-Turbolinks, simply::\n\n $ pip install Flask-Turbolinks\n\nOr alternatively if you don't have pip::\n\n $ easy_install Flask-Turbolinks\n\n\nUsage\n-----\n\nTo enable turbolinks, you need to put `turbolinks.js`_ in the ```` of\nyour html templates.\n\n\nThe backend flask app should be wrapped with turbolinks::\n\n from flask import Flask\n from flask_turbolinks import turbolinks\n\n app = Flask(__name__)\n # you app should has a secret key for session\n app.secret_key = 'secret'\n\n turbolinks(app)\n\nAnd everything works now, no more configuration.\n\n.. _`turbolinks.js`: https://github.com/rails/turbolinks\n\n\nNote\n----\n\nYou can install the javascript code with component::\n\n $ component install lepture/flask-turbolinks\n\nYou can also grab the code from `turbolinks.js` on GitHub. It is written in CoffeeScript, you can compile it with::\n\n coffee -c turbolinks.js.coffee\n\n\nDemo\n----\n\nThere is a demo in the ``example`` directory, start a server and open the\nurl with Chrome. View the requests with developer tools of Chrome.\n\n\nCredits\n-------\n\nThanks for rails, thanks for the help of Rei_.\n\n.. _Rei: https://github.com/chloerei\n\n\nChangelog\n---------\n\nWe keep the changelog on `GitHub releases`_.\n\n.. _`GitHub releases`: https://github.com/lepture/flask-turbolinks/releases", "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/lepture/flask-turbolinks", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "Flask-Turbolinks", "package_url": "https://pypi.org/project/Flask-Turbolinks/", "platform": "any", "project_url": "https://pypi.org/project/Flask-Turbolinks/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/lepture/flask-turbolinks" }, "release_url": "https://pypi.org/project/Flask-Turbolinks/0.2.0/", "requires_dist": null, "requires_python": null, "summary": "Turbolinks for Flask.", "version": "0.2.0" }, "last_serial": 994825, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "4f5ea908642acbaa377065db9357dfe0", "sha256": "34355cb1ce822a6eb8b4daa7a7de5cca7ee0c5264c3a50eb72e5d5d672601944" }, "downloads": -1, "filename": "Flask-Turbolinks-0.1.0.tar.gz", "has_sig": false, "md5_digest": "4f5ea908642acbaa377065db9357dfe0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3130, "upload_time": "2013-07-04T01:42:04", "url": "https://files.pythonhosted.org/packages/e5/d3/920a596ab5f32536e138fc39f9a20afdda4f54bb2333add9c6266a248a63/Flask-Turbolinks-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "096159f104a00dee2c242562ebffdd52", "sha256": "9d5c40aae2ba6c80b95e87e886f3518c219fa8bbf22638514b75210ac92f8314" }, "downloads": -1, "filename": "Flask-Turbolinks-0.1.1.tar.gz", "has_sig": false, "md5_digest": "096159f104a00dee2c242562ebffdd52", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3275, "upload_time": "2013-07-04T08:24:54", "url": "https://files.pythonhosted.org/packages/02/d3/44d64c0f1139dcef967726522b105be1b153c4651e0d5da54aa9028c8fe0/Flask-Turbolinks-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "e66583053ebba62afef9e16f3e6673c9", "sha256": "af1da02564ddbf4692c07b3c5fea20ecad80f33bb140e2d24c48801d35e24998" }, "downloads": -1, "filename": "Flask-Turbolinks-0.1.2.tar.gz", "has_sig": false, "md5_digest": "e66583053ebba62afef9e16f3e6673c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3673, "upload_time": "2013-07-08T05:51:42", "url": "https://files.pythonhosted.org/packages/4a/a0/0e43bf1026708f9d96db57157a3d039709c4b0f081601e5c435abe973489/Flask-Turbolinks-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "0ab962bd65202c7cc3ffb5cb3b40b47a", "sha256": "8240bc8ce4219d89e12fc866414da54ba34239a692a4a495dd7b7f4bb4c84fe3" }, "downloads": -1, "filename": "Flask-Turbolinks-0.1.3.tar.gz", "has_sig": false, "md5_digest": "0ab962bd65202c7cc3ffb5cb3b40b47a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3891, "upload_time": "2013-08-28T06:59:42", "url": "https://files.pythonhosted.org/packages/5d/3c/4df51c26c22a0f133049317209551d0713bc75ed03d43c5b81c30881f68a/Flask-Turbolinks-0.1.3.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "b670b806561cf94e20b04a585250ebe7", "sha256": "9086fa5d425db3530efe7eb96d90067f0531158864f0e7130846e534069d6381" }, "downloads": -1, "filename": "Flask-Turbolinks-0.2.0.tar.gz", "has_sig": false, "md5_digest": "b670b806561cf94e20b04a585250ebe7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3959, "upload_time": "2014-02-09T03:02:09", "url": "https://files.pythonhosted.org/packages/4d/f3/e7b4ff1fa5c121e81480bf54dcfb8ce61ccab1153cc6d3a00c36f1e7d2a6/Flask-Turbolinks-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b670b806561cf94e20b04a585250ebe7", "sha256": "9086fa5d425db3530efe7eb96d90067f0531158864f0e7130846e534069d6381" }, "downloads": -1, "filename": "Flask-Turbolinks-0.2.0.tar.gz", "has_sig": false, "md5_digest": "b670b806561cf94e20b04a585250ebe7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3959, "upload_time": "2014-02-09T03:02:09", "url": "https://files.pythonhosted.org/packages/4d/f3/e7b4ff1fa5c121e81480bf54dcfb8ce61ccab1153cc6d3a00c36f1e7d2a6/Flask-Turbolinks-0.2.0.tar.gz" } ] }