{ "info": { "author": "edX", "author_email": "oscm@edx.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Django", "Framework :: Django :: 1.11", "Framework :: Django :: 2.0", "Framework :: Django :: 2.1", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "web-fragments\n=============\n\n.. image:: https://img.shields.io/pypi/v/web-fragments.svg\n :target: https://pypi.python.org/pypi/web-fragments/\n :alt: PyPI\n\n.. image:: https://travis-ci.org/edx/web-fragments.svg?branch=master\n :target: https://travis-ci.org/edx/web-fragments\n :alt: Travis\n\n.. image:: http://codecov.io/github/edx/web-fragments/coverage.svg?branch=master\n :target: http://codecov.io/github/edx/web-fragments?branch=master\n :alt: Codecov\n\n.. image:: http://web-fragments.readthedocs.io/en/latest/?badge=latest\n :target: http://web-fragments.readthedocs.io/en/latest/\n :alt: Documentation\n\n.. image:: https://img.shields.io/pypi/pyversions/web-fragments.svg\n :target: https://pypi.python.org/pypi/web-fragments/\n :alt: Supported Python versions\n\n.. image:: https://img.shields.io/github/license/edx/web-fragments.svg\n :target: https://github.com/edx/web-fragments/blob/master/LICENSE.txt\n :alt: License\n\nOverview\n--------\n\nThe web fragments library provides a Python and Django implementation for\nmanaging fragments of web pages. In particular, this library refactors the\nfragment code from XBlock into a standalone implementation.\n\nA Django view subclass called FragmentView is provided which supports three\ndifferent ways of rendering a fragment into a page:\n\n* the fragment can be rendered as a standalone page at its own URL\n* the fragment can be rendered into another page directly from Django\n* the fragment can be returned as JSON so that it can be rendered client-side\n\nThe rationale behind this design can be found in `OEP-12`_.\n\n.. _OEP-12: http://open-edx-proposals.readthedocs.io/en/latest/oep-0012.html\n\nThe intention is that a client-side implementation will be provided in a\nsubsequent version. This should provide JavaScript code to request fragements\nover AJAX and then dynamically update the current page. This logic will be a\nrefactoring of the current implementation in edx-platform for rendering XBlocks.\nIt is also intended that this functionality will enhance the capabilities\naround dependency loading.\n\n.. Documentation\n.. -------------\n..\n.. The full documentation is at https://web-fragments.readthedocs.org.\n\nLicense\n-------\n\nThe code in this repository is licensed under the AGPL 3.0 unless otherwise\nnoted.\n\nPlease see ``LICENSE.txt`` for details.\n\nHow To Contribute\n-----------------\n\nContributions are very welcome. Please read `Contributing to edX`_ for details.\n\nNote: Even though these guidelines were written with ``edx-platform`` in mind,\nthey should be followed for Open edX code in general.\n\n.. _Contributing to edX: https://github.com/edx/edx-platform/blob/master/CONTRIBUTING.rst\n\nReporting Security Issues\n-------------------------\n\nPlease do not report security issues in public. Please email security@edx.org.\n\nGetting Help\n------------\n\nHave a question about this repository, or about Open edX in general? Please\nrefer to the Open edX guide to `Getting Help`_.\n\n.. _Getting Help: https://open.edx.org/getting-help\n\n\nWe don't maintain a detailed changelog. For details of changes, see the\n`GitHub commit history`_.\n\n.. _GitHub commit history: https://github.com/edx/web-fragments/commits/master\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/edx/web-fragments", "keywords": "Django edx", "license": "AGPL 3.0", "maintainer": "", "maintainer_email": "", "name": "web-fragments", "package_url": "https://pypi.org/project/web-fragments/", "platform": "", "project_url": "https://pypi.org/project/web-fragments/", "project_urls": { "Homepage": "https://github.com/edx/web-fragments" }, "release_url": "https://pypi.org/project/web-fragments/0.3.0/", "requires_dist": [ "Django (<2.2,>=1.11) ; extra == 'django'" ], "requires_python": "", "summary": "Web fragments", "version": "0.3.0" }, "last_serial": 4846970, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "50a1c297f33fe778578d680004eb56ce", "sha256": "16803a1f3a38cd3a4d9be3f1e51868a669dbc6cabb6cedb985e49f3032187d48" }, "downloads": -1, "filename": "web_fragments-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "50a1c297f33fe778578d680004eb56ce", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13649, "upload_time": "2017-02-07T16:18:56", "url": "https://files.pythonhosted.org/packages/4e/3f/f3ff168011fff4e2ca184540d85833faa59a7768b7da3eb2c946da9f4667/web_fragments-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "43d20982e66cdc464155ed980a742a18", "sha256": "41bb26788af78b3a34bfbfbec96d5095c0712a2d7a681046b9bac7b01885a5ea" }, "downloads": -1, "filename": "web-fragments-0.1.0.tar.gz", "has_sig": false, "md5_digest": "43d20982e66cdc464155ed980a742a18", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14502, "upload_time": "2017-02-07T16:18:58", "url": "https://files.pythonhosted.org/packages/e4/2f/9cea31938def48cd25b855f35ca88006dea3259e167844777bfae304cda5/web-fragments-0.1.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "c14c3f6c224852e143d27d3f225a4b5e", "sha256": "2a8d2bb63b9b3c126aa218c5ab21af710ee9e1a0eb6641026466f5f6844b44d4" }, "downloads": -1, "filename": "web_fragments-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c14c3f6c224852e143d27d3f225a4b5e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13753, "upload_time": "2017-03-01T03:31:56", "url": "https://files.pythonhosted.org/packages/5c/bb/51c4971992e0241f5df5be03133907545616dd59f5a611ae6f213212c2d1/web_fragments-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6551d25d9286ae94bd5a496da57296d7", "sha256": "0a8a981b742ba1655fac238bfc784c0a523ac25f8f38f93352350e9bee9981e3" }, "downloads": -1, "filename": "web-fragments-0.2.1.tar.gz", "has_sig": false, "md5_digest": "6551d25d9286ae94bd5a496da57296d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13590, "upload_time": "2017-03-01T03:31:57", "url": "https://files.pythonhosted.org/packages/ff/d0/919beacd77bc413c7928ea4da81bcc2567545743f31ca8eb5890583f7d6b/web-fragments-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "fefb1fae295cfd2bb15e5802dc93a4ba", "sha256": "1c9d459b63eb0e4c4fb17f5cf7464be1a9a789c52b47565402f92c07ab610fd5" }, "downloads": -1, "filename": "web_fragments-0.2.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "fefb1fae295cfd2bb15e5802dc93a4ba", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13857, "upload_time": "2017-05-09T18:44:23", "url": "https://files.pythonhosted.org/packages/d2/f5/b9668b939e935aa95baa343d14c232e02843a5dffe188462d9c6b7c2d70d/web_fragments-0.2.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "869ef148da37465bddae7440f5a49501", "sha256": "cc674ff26baaa76856b5b15ebb59fbb632e0907bf7ff6983a5733cf0d9947b56" }, "downloads": -1, "filename": "web-fragments-0.2.2.tar.gz", "has_sig": false, "md5_digest": "869ef148da37465bddae7440f5a49501", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13681, "upload_time": "2017-05-09T18:44:24", "url": "https://files.pythonhosted.org/packages/66/50/60143b4cf5f05ebc554d073cfba7c0fa1535a803dfdec0fc9098d06a94cc/web-fragments-0.2.2.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "851901438883429d0ea6ffd53cb56bc8", "sha256": "90204ba8c0b876bca006e5643461b55a8e8a0e79c508b35db257f3413872b557" }, "downloads": -1, "filename": "web_fragments-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "851901438883429d0ea6ffd53cb56bc8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 16078, "upload_time": "2019-02-20T19:04:41", "url": "https://files.pythonhosted.org/packages/15/00/5e75073da7ae0ebb2bea64fdb9c630dc2b2821fe876bd35e866763ac7754/web_fragments-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2c856fe4d31fb62d877e9bf08a8b34ba", "sha256": "d0c0f9ba7e35fd19031376c2324ae54b1d259a6c0c39e47aef3850411bf30f21" }, "downloads": -1, "filename": "web-fragments-0.3.0.tar.gz", "has_sig": false, "md5_digest": "2c856fe4d31fb62d877e9bf08a8b34ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13371, "upload_time": "2019-02-20T19:04:43", "url": "https://files.pythonhosted.org/packages/29/da/e2a7c144591683b4c4e60ef090bed720f65bc61450f5e700182b3cc24cce/web-fragments-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "851901438883429d0ea6ffd53cb56bc8", "sha256": "90204ba8c0b876bca006e5643461b55a8e8a0e79c508b35db257f3413872b557" }, "downloads": -1, "filename": "web_fragments-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "851901438883429d0ea6ffd53cb56bc8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 16078, "upload_time": "2019-02-20T19:04:41", "url": "https://files.pythonhosted.org/packages/15/00/5e75073da7ae0ebb2bea64fdb9c630dc2b2821fe876bd35e866763ac7754/web_fragments-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2c856fe4d31fb62d877e9bf08a8b34ba", "sha256": "d0c0f9ba7e35fd19031376c2324ae54b1d259a6c0c39e47aef3850411bf30f21" }, "downloads": -1, "filename": "web-fragments-0.3.0.tar.gz", "has_sig": false, "md5_digest": "2c856fe4d31fb62d877e9bf08a8b34ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13371, "upload_time": "2019-02-20T19:04:43", "url": "https://files.pythonhosted.org/packages/29/da/e2a7c144591683b4c4e60ef090bed720f65bc61450f5e700182b3cc24cce/web-fragments-0.3.0.tar.gz" } ] }