{ "info": { "author": "Jan Bobisud", "author_email": "me@bobisjan.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.4", "Framework :: Django :: 1.7", "Framework :: Django :: 1.8", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Text Processing", "Topic :: Text Processing :: Markup", "Topic :: Text Processing :: Markup :: HTML" ], "description": "Django Ember Index\r\n==================\r\n\r\n|Build Status| |Code Climate| |Coverage Status| |Requirements Status|\r\n\r\nA Django app to serve `Ember`_ index files deployed with\r\n`ember-cli-deploy`_.\r\n\r\nInstallation\r\n------------\r\n\r\n1. Install application using ``$ pip install django-ember-index``.\r\n\r\n2. Add ``ember_index`` to your ``INSTALLED_APPS`` setting like this:\r\n\r\n .. code-block:: python\r\n\r\n INSTALLED_APPS = (\r\n ...\r\n 'ember_index',\r\n )\r\n\r\nUsage\r\n-----\r\n\r\n1. Register Ember application(s) at ``urls.py`` with `redis`_\\ \u2019s\r\n adapter:\r\n\r\n .. code-block:: python\r\n\r\n from ember_index import index, RedisAdapter\r\n\r\n adapter = RedisAdapter(host='localhost')\r\n\r\n urlpatterns = [\r\n index(r'^other/', 'other-app', adapter),\r\n index(r'^', 'my-app', adapter),\r\n ]\r\n\r\n The provided ``regex`` is used to set router\u2019s `rootURL`_ by `replacing`_ pregenerated `baseURL`_ environment configuration at index file.\r\n\r\n Note that `storeConfigInMeta`_ must be set to ``true``, otherwise an exception is raised. If ``base`` tag is present in index file, then value of ``href`` attribute will be replaced too.\r\n\r\n If CSRF protection is enabled, then ``meta`` tag named ``X-CSRFToken`` with generated token will be provided. You can use `Ember Django CSRF`_ to enable protection on the Ember side.\r\n\r\n All adapter\u2019s keyword arguments will be passed into the `StrictRedis`_ object on initialization.\r\n\r\n2. Access application(s) at:\r\n\r\n - ``/`` with current revision of ``my-app``,\r\n - ``/r/ed54cda/`` with specific revision of ``my-app``,\r\n - ``/other/`` with current revision of ``other-app``,\r\n - ``/other/r/ed54cda/`` with specific revision of ``other-app``.\r\n\r\nLicense\r\n-------\r\n\r\nDjango Ember Index is available under the MIT license. See the LICENSE\r\nfile for more info.\r\n\r\n.. _Ember: http://emberjs.com\r\n.. _ember-cli-deploy: https://github.com/ember-cli/ember-cli-deploy\r\n.. _redis: http://redis.io\r\n.. _rootURL: http://emberjs.com/api/classes/Ember.Router.html#property_rootURL\r\n.. _replacing: https://github.com/bobisjan/django-ember-index/blob/master/ember_index/utils.py#L1\r\n.. _baseURL: https://github.com/ember-cli/ember-cli/blob/18d377b264859548f41aba6c3ea2015b90978068/blueprints/app/files/config/environment.js#L7\r\n.. _storeConfigInMeta: https://github.com/ember-cli/ember-cli/blob/master/lib/broccoli/ember-app.js#L141\r\n.. _Ember Django CSRF: http://emberobserver.com/addons/ember-django-csrf\r\n.. _StrictRedis: https://redis-py.readthedocs.org/en/latest/#redis.StrictRedis\r\n\r\n.. |Build Status| image:: https://travis-ci.org/bobisjan/django-ember-index.svg?branch=master\r\n :target: https://travis-ci.org/bobisjan/django-ember-index\r\n.. |Code Climate| image:: https://codeclimate.com/github/bobisjan/django-ember-index/badges/gpa.svg\r\n :target: https://codeclimate.com/github/bobisjan/django-ember-index\r\n.. |Coverage Status| image:: https://coveralls.io/repos/bobisjan/django-ember-index/badge.svg?branch=master\r\n :target: https://coveralls.io/r/bobisjan/django-ember-index\r\n.. |Requirements Status| image:: https://requires.io/github/bobisjan/django-ember-index/requirements.svg?branch=master\r\n :target: https://requires.io/github/bobisjan/django-ember-index/requirements/?branch=master", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://pypi.python.org/pypi/django-ember-index", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "django-ember-index", "package_url": "https://pypi.org/project/django-ember-index/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-ember-index/", "project_urls": { "Homepage": "https://pypi.python.org/pypi/django-ember-index" }, "release_url": "https://pypi.org/project/django-ember-index/0.7.0/", "requires_dist": null, "requires_python": null, "summary": "A Django app to serve Ember index files.", "version": "0.7.0" }, "last_serial": 1588837, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "7043117dd07bf67588adf7e1e5e43af2", "sha256": "6691ae3caa3dcf1a66c8f1e33447d8e9d0f572723401987a5ab4fa57f93736d0" }, "downloads": -1, "filename": "django-ember-index-0.1.0.tar.gz", "has_sig": false, "md5_digest": "7043117dd07bf67588adf7e1e5e43af2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2894, "upload_time": "2015-05-05T18:34:17", "url": "https://files.pythonhosted.org/packages/4c/69/836ef5b1f7272a52e6b61affa2d28e2707879ec8442414ee5425c14e21a7/django-ember-index-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "d295db1ed328e8bd707383232c8af6c5", "sha256": "fea4ba65cae7634b1cbe6f10f0f7b2856dfa235155140e2f2557cb0354ece4a6" }, "downloads": -1, "filename": "django-ember-index-0.2.0.tar.gz", "has_sig": false, "md5_digest": "d295db1ed328e8bd707383232c8af6c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3306, "upload_time": "2015-05-05T18:34:20", "url": "https://files.pythonhosted.org/packages/db/0a/e8bdd3d659985e39342c37d0190c62ad00e87373b02db5d9b69f20ec613f/django-ember-index-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "55f43633e14e8f6899b1aa4a6c329c3f", "sha256": "0a9fdd979e3ea4beaf24d95fb8393683c97efab34ed496048acbc53d19467e9c" }, "downloads": -1, "filename": "django-ember-index-0.3.0.tar.gz", "has_sig": false, "md5_digest": "55f43633e14e8f6899b1aa4a6c329c3f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3665, "upload_time": "2015-05-07T16:35:42", "url": "https://files.pythonhosted.org/packages/96/d4/4d734a57f300989873ea77f75760f6de65b26e39d3dff3704c30bc6d4453/django-ember-index-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "2b9bd87a40c4afd2f713ddb2d99ced01", "sha256": "319528da394f351d68ce2f462c3fa51730d60056b6230a9d4d5d48ec9322d5bd" }, "downloads": -1, "filename": "django-ember-index-0.4.0.tar.gz", "has_sig": false, "md5_digest": "2b9bd87a40c4afd2f713ddb2d99ced01", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4761, "upload_time": "2015-05-12T06:57:36", "url": "https://files.pythonhosted.org/packages/47/71/5978a660c02e836a7d4041694a4d79f3e9624c47d404ac44d498fb965a6e/django-ember-index-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "8ef78366d28b6a0000a106d09ff66b78", "sha256": "317d56e9eab4c4a78c0fb6f1c494162e3e1fbf3b011617e447ce1100cbda9f80" }, "downloads": -1, "filename": "django-ember-index-0.5.0.tar.gz", "has_sig": false, "md5_digest": "8ef78366d28b6a0000a106d09ff66b78", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4841, "upload_time": "2015-05-20T19:25:53", "url": "https://files.pythonhosted.org/packages/81/02/218bb5ec3b894e70216a2e4c6934f3841ba062113c8666ce569421077144/django-ember-index-0.5.0.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "cd3d44bac75c99de53b7bde8a130625e", "sha256": "5d6c77780b884433513e209da132eefadb67f61d29c9c82de63d3eb8a1e6479c" }, "downloads": -1, "filename": "django-ember-index-0.5.1.tar.gz", "has_sig": false, "md5_digest": "cd3d44bac75c99de53b7bde8a130625e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4840, "upload_time": "2015-05-21T06:28:37", "url": "https://files.pythonhosted.org/packages/f7/a2/39eaa95274f29eaf16df6125eaa1ea917a5384eeca767aa16103363e9ab3/django-ember-index-0.5.1.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "b8776d3786e4b349a7c3041c4a0e9b3d", "sha256": "2d783536cefd794398392c05a4160983be687a3f0250bcffc14220fe9be5c74f" }, "downloads": -1, "filename": "django-ember-index-0.6.0.tar.gz", "has_sig": false, "md5_digest": "b8776d3786e4b349a7c3041c4a0e9b3d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5056, "upload_time": "2015-05-30T06:59:44", "url": "https://files.pythonhosted.org/packages/1d/b6/b65485a994dc8366e62819709b551b2e7435d0af835fee094a113397e0f9/django-ember-index-0.6.0.tar.gz" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "98730ae497999ef59853f53d0dcdfe7f", "sha256": "deacc6e4aa63b8388e15d51aff537a84ae99a8709caa28990a60d88cfcd63ae5" }, "downloads": -1, "filename": "django-ember-index-0.7.0.tar.gz", "has_sig": false, "md5_digest": "98730ae497999ef59853f53d0dcdfe7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5455, "upload_time": "2015-06-04T21:54:40", "url": "https://files.pythonhosted.org/packages/eb/fd/c4733a8f952071f65202ae66efecf379fe4718469062bfa7072997030052/django-ember-index-0.7.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "98730ae497999ef59853f53d0dcdfe7f", "sha256": "deacc6e4aa63b8388e15d51aff537a84ae99a8709caa28990a60d88cfcd63ae5" }, "downloads": -1, "filename": "django-ember-index-0.7.0.tar.gz", "has_sig": false, "md5_digest": "98730ae497999ef59853f53d0dcdfe7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5455, "upload_time": "2015-06-04T21:54:40", "url": "https://files.pythonhosted.org/packages/eb/fd/c4733a8f952071f65202ae66efecf379fe4718469062bfa7072997030052/django-ember-index-0.7.0.tar.gz" } ] }