{ "info": { "author": "Tim Martin", "author_email": "tim.martin@vertical-knowledge.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Django :: 1.6", "Framework :: Django :: 1.7", "Framework :: Django :: 1.8", "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "django-ripozo\n=============\n\n.. image:: https://travis-ci.org/vertical-knowledge/django-ripozo.svg?branch=master&style=flat\n :target: https://travis-ci.org/vertical-knowledge/django-ripozo\n :alt: test status\n\n.. image:: https://coveralls.io/repos/vertical-knowledge/django-ripozo/badge.svg?branch=master&style=flat\n :target: https://coveralls.io/r/vertical-knowledge/django-ripozo?branch=master\n :alt: test coverage\n\n.. image:: https://readthedocs.org/projects/django-ripozo/badge/?version=latest&style=flat\n :target: https://django-ripozo.readthedocs.org/\n :alt: documentation status\n\nIntegrates ripozo with django for fast, flexible \nHypermedia, HATEOAS, and other REST apis.\n\n`Full django-ripozo documentation `_\n\nLooking for the `ripozo documentation? `_\n\nSupports Django 1.6, 1.7, and 1.8.\n\npython 2.6, 2.7, 3.3, 3.4, pypy\n\nNOTE\n----\n\nCurrently there are `compatibility issues `_\nwith Django 1.6, 1.7 and python 3.5. There is currently a fix in progress.\nHowever, two of our test environments will fail until the fix is deployed. All tests\npass otherwise.\n\nMinimal App\n-----------\n\nYou'll need to instantiate the django project in\nthe standard manner. If you aren't sure how to\ndo this, check out the excellent\n`django documentation. `_\n\nIn your app you'll need a resources.py file.\n\n.. code-block:: python\n\n from ripozo import ResourceBase, apimethod\n\n class MyResource(ResourceBase):\n @apimethod(methods=['GET'])\n def say_hello(cls, request):\n return cls(properties=dict(hello='world'))\n\nAnd in your urls.py file\n\n.. code-block:: python\n\n from ripozo.adapters import SirenAdapter, HalAdapter\n from .resources import MyResource\n\n dispatcher = DjangoDispatcher()\n dispatcher.register_resources(MyResource)\n dispatcher.register_adapters(SirenAdapter, HalAdapter)\n\n urlpatterns = dispatcher.url_patterns\n\nAnd just like that you have a fully functional application.\n\nLooking for a more extensive example?\nCheck out an `example `_\nwith database interactions as well.\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://django-ripozo.readthedocs.org/", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-ripozo", "package_url": "https://pypi.org/project/django-ripozo/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-ripozo/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://django-ripozo.readthedocs.org/" }, "release_url": "https://pypi.org/project/django-ripozo/1.1.0/", "requires_dist": null, "requires_python": null, "summary": "Integrates ripozo with django for fast, flexible Hypermedia, HATEOAS, and other REST apis", "version": "1.1.0" }, "last_serial": 1828720, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "9c909603f279ef8031a5ac229ba4983f", "sha256": "9f9465f9ac117408aa6951fedf4f1905c3c08e083659d097af452e0d74a069cb" }, "downloads": -1, "filename": "django-ripozo-0.2.0.tar.gz", "has_sig": false, "md5_digest": "9c909603f279ef8031a5ac229ba4983f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14228, "upload_time": "2015-06-30T02:45:32", "url": "https://files.pythonhosted.org/packages/b9/31/361426e7ffff77774d6be9a4695da97141ce57cbbadf6d45c4e2fe4401eb/django-ripozo-0.2.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "babd583cb88b6591ea775c2fc23080c7", "sha256": "5f6ca8f71ee9b856c4ec1a0b7d29b4535a7ad62dbd4dea8d44d095fc59f133b2" }, "downloads": -1, "filename": "django-ripozo-1.0.0.tar.gz", "has_sig": false, "md5_digest": "babd583cb88b6591ea775c2fc23080c7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14439, "upload_time": "2015-06-30T17:35:31", "url": "https://files.pythonhosted.org/packages/37/9e/293ab91fb1140b5f4d369f4376ae6cbc45b690e4f4e5b6ca75bfba484f9f/django-ripozo-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "81ea7171e370d82d5e16c8678f5971fb", "sha256": "ecd77acdf06b710a7006f9bd6e4cee7799f6a8a8766e6f24c9ae5c641b6b56da" }, "downloads": -1, "filename": "django-ripozo-1.1.0.tar.gz", "has_sig": false, "md5_digest": "81ea7171e370d82d5e16c8678f5971fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16275, "upload_time": "2015-11-23T01:48:23", "url": "https://files.pythonhosted.org/packages/64/a5/4df98f62238a27f596793e710c3fbd6626ff0c710bc8a9d73ee0bede3e3c/django-ripozo-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "81ea7171e370d82d5e16c8678f5971fb", "sha256": "ecd77acdf06b710a7006f9bd6e4cee7799f6a8a8766e6f24c9ae5c641b6b56da" }, "downloads": -1, "filename": "django-ripozo-1.1.0.tar.gz", "has_sig": false, "md5_digest": "81ea7171e370d82d5e16c8678f5971fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16275, "upload_time": "2015-11-23T01:48:23", "url": "https://files.pythonhosted.org/packages/64/a5/4df98f62238a27f596793e710c3fbd6626ff0c710bc8a9d73ee0bede3e3c/django-ripozo-1.1.0.tar.gz" } ] }