{
"info": {
"author": "Oleksandr Shtalinberg",
"author_email": "O.Shtalinberg@gmail.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.6",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content"
],
"description": "================\ndjango-amp-tools\n================\n\n.. image:: https://travis-ci.org/shtalinberg/django-amp-tools.svg?branch=develop\n :target: https://travis-ci.org/shtalinberg/django-amp-tools\n\n.. image:: https://img.shields.io/pypi/v/django-amp-tools.svg\n :target: https://pypi.python.org/pypi/django-amp-tools/\n\n.. image:: https://img.shields.io/pypi/pyversions/django-amp-tools.svg\n\n.. image:: https://img.shields.io/badge/django-1.11%20or%20newer-green.svg\n\n\n\n.. _introduction:\n\n**django-amp-tools** ( amp_tools ) provides a simple way to work with Accelerated mobile pages (AMP)\nin django and gives you tools at your hand to render some different templates\nto deliver an AMP version of your site to the user.\n\nThe initial idea, which has guided the development of this application from django-mobile app,\nis to keep your views exactly the same but to transparently\ninterchange the templates used to render a response.\n\n\nThis is done in two steps:\n\n1. A middleware determines the client's preference to view your site. E.g. if\n he wants to use the AMP or the standart version.\n2. The template loader takes then care of choosing the correct templates based\n on the GET param detected in the middleware.\n\n\nInstallation\n============\n\n.. _installation:\n\n*Pre-Requirements:* ``django-amp-tools`` depends on django's sites framework. So\nbefore you try to use ``django-amp-tools`` make sure that the sites framework\nis enabled and working.\n\n1. Install ``django-amp-tools`` with your favourite python tool, e.g. with\n ``easy_install django-amp-tools`` or ``pip install django-amp-tools``.\n2. Add ``amp_tools`` to your ``INSTALLED_APPS`` setting in the\n ``settings.py``.\n3. Add ``amp_tools.middleware.AMPDetectionMiddleware`` to end of your\n ``MIDDLEWARE_CLASSES`` setting.\n4. Add ``amp_tools.loader.Loader`` as first item to your\n ``loaders`` list for ``TEMPLATES`` setting in ``settings.py``.\n\n\nUsage\n=====\n\nSee docs/usage.rst\n\n\n**Documentation** is `available online\n`_, or in the doc\ndirectory of the project.\n\nThe **source code** for this app is hosted at\nhttps://github.com/shtalinberg/django-amp-tools.\n\nPull requests are welcome. See\n`_.\n",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "http://github.com/shtalinberg/django-amp-tools",
"keywords": "django AMP accelerated",
"license": "MIT License",
"maintainer": "",
"maintainer_email": "",
"name": "django-amp-tools",
"package_url": "https://pypi.org/project/django-amp-tools/",
"platform": "",
"project_url": "https://pypi.org/project/django-amp-tools/",
"project_urls": {
"Homepage": "http://github.com/shtalinberg/django-amp-tools"
},
"release_url": "https://pypi.org/project/django-amp-tools/0.2.2/",
"requires_dist": null,
"requires_python": "",
"summary": "Accelerated mobile pages (AMP) in django.",
"version": "0.2.2"
},
"last_serial": 4594877,
"releases": {
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "81a82c959cbfaef6bde5b9e5d1c6b990",
"sha256": "0f3a90bba8527ea69f909b6f7c8b96dd0858ba46cc1b68ce511c123d98c0345d"
},
"downloads": -1,
"filename": "django-amp-tools-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "81a82c959cbfaef6bde5b9e5d1c6b990",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 13716,
"upload_time": "2016-12-13T23:03:57",
"url": "https://files.pythonhosted.org/packages/ad/b8/123154eb86923f956b49b603739059ba283cdf39f91042bd3d3695175348/django-amp-tools-0.1.0.tar.gz"
}
],
"0.1.1": [
{
"comment_text": "",
"digests": {
"md5": "96322cd669bdac7f5df821a254fe5534",
"sha256": "cc6519caed3e3f15024050e4c5defe0494c1dfd39fcd10409b0fee77b916716e"
},
"downloads": -1,
"filename": "django-amp-tools-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "96322cd669bdac7f5df821a254fe5534",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 13728,
"upload_time": "2016-12-14T12:19:42",
"url": "https://files.pythonhosted.org/packages/ec/ac/b281a52118af18a94cf036e206c5c006bf8f17d7dfc11df0567e1bb54ac5/django-amp-tools-0.1.1.tar.gz"
}
],
"0.2.0": [
{
"comment_text": "",
"digests": {
"md5": "83328f874797bb2b86a12aaf8f77c146",
"sha256": "6e3c25a4f6e931550d847a7c329031057cd81200c386da73968e8046b7784c86"
},
"downloads": -1,
"filename": "django-amp-tools-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "83328f874797bb2b86a12aaf8f77c146",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 21855,
"upload_time": "2018-12-13T12:13:02",
"url": "https://files.pythonhosted.org/packages/8d/0e/4e75138f4e30ebf99874adbb7796f834ad411346576026b7523cc1a2fa51/django-amp-tools-0.2.0.tar.gz"
}
],
"0.2.1": [
{
"comment_text": "",
"digests": {
"md5": "23fa202914646fdfb252dca0710ee9ca",
"sha256": "dee567092f614013479a6da43f531b8f1776d2583a5a2c668337e6b1eefe5d0f"
},
"downloads": -1,
"filename": "django-amp-tools-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "23fa202914646fdfb252dca0710ee9ca",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 22501,
"upload_time": "2018-12-13T13:54:39",
"url": "https://files.pythonhosted.org/packages/60/4d/350a1b81139827b23c14a3598b6a0207483df7e3fcf979cc39b96caac196/django-amp-tools-0.2.1.tar.gz"
}
],
"0.2.2": [
{
"comment_text": "",
"digests": {
"md5": "d800fbdc78efbc0dd73147936174b81c",
"sha256": "492c0cebf4da0d3e4f00bbbde687985e98085e4c76821db435ab17d7a19c7ced"
},
"downloads": -1,
"filename": "django-amp-tools-0.2.2.tar.gz",
"has_sig": false,
"md5_digest": "d800fbdc78efbc0dd73147936174b81c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 22606,
"upload_time": "2018-12-13T15:57:00",
"url": "https://files.pythonhosted.org/packages/f2/dd/131e1d698f4aefc44070068766c32850c6b01c3cac5a2587cbb14a440a62/django-amp-tools-0.2.2.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "d800fbdc78efbc0dd73147936174b81c",
"sha256": "492c0cebf4da0d3e4f00bbbde687985e98085e4c76821db435ab17d7a19c7ced"
},
"downloads": -1,
"filename": "django-amp-tools-0.2.2.tar.gz",
"has_sig": false,
"md5_digest": "d800fbdc78efbc0dd73147936174b81c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 22606,
"upload_time": "2018-12-13T15:57:00",
"url": "https://files.pythonhosted.org/packages/f2/dd/131e1d698f4aefc44070068766c32850c6b01c3cac5a2587cbb14a440a62/django-amp-tools-0.2.2.tar.gz"
}
]
}