{ "info": { "author": "lishuo", "author_email": "shuoli84@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "drf-wrapper is a restful api wrapper which can bundle several api calls into one\n\nMotivation:\nWhen we design restful api, we tends to design clean api, one resource for one endpoints. \nWhen we get data from api, we tends to reduce the number of requests, so we would like to \nget all related resources with minimum api.\n\nWith drf-wrapper, you can design clean api, and call the wrapper api to get all required \ndata with just one requests.\n\nHow it works:\nIt is very simple, parse the required api url as query string like:\nhttp://127.0.0.1/api/wrapper/?urls=/api/item_a/,/api/item_b/\n\nThe library will carry over all the cookie, header from the orignal request to each api view,\nthat means all permission checking etc works the same as before.\n\nInstallation:\n* pip install drf_wrapper\n\n* in your settings add 'drf_wrapper' into app\n\n* in urls.py\n urlpatterns += patterns(\n '',\n url(r'wrapper/', 'drf_wrapper.views.wrapper_view')\n )\n\nRoadmap:\n* Add pass through param support. Enable api calls like: /api/wrapper?urls=/api/hot_item,/api/company/{0:company_id}/\n* Add threshold. The maximum apis can be bundled in one wrapper.", "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/shuoli84/drf-wrapper", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "drf_wrapper", "package_url": "https://pypi.org/project/drf_wrapper/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/drf_wrapper/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/shuoli84/drf-wrapper" }, "release_url": "https://pypi.org/project/drf_wrapper/0.1/", "requires_dist": null, "requires_python": null, "summary": "Bundle several django rest framework requests into one", "version": "0.1" }, "last_serial": 1087923, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "53a8b404ea90a405971e87c1b2d6ed61", "sha256": "5ff2bca30a85573519c70019872ffc371e84425db26f30f7dd79a5217bff9213" }, "downloads": -1, "filename": "drf_wrapper-0.1.macosx-10.9-x86_64.exe", "has_sig": false, "md5_digest": "53a8b404ea90a405971e87c1b2d6ed61", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 65710, "upload_time": "2014-05-10T15:16:21", "url": "https://files.pythonhosted.org/packages/83/2d/9e40b4db0bf66f42f1e5bedd6749705b4651bb1fc26b1fbbdc9069213cb1/drf_wrapper-0.1.macosx-10.9-x86_64.exe" }, { "comment_text": "", "digests": { "md5": "74a349f6571f80094ec519c9d2d40533", "sha256": "35d101e8f2cf703625da2181b38d21164ad105dc79a42823b5a4926f1b7a2484" }, "downloads": -1, "filename": "drf_wrapper-0.1.tar.gz", "has_sig": false, "md5_digest": "74a349f6571f80094ec519c9d2d40533", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2110, "upload_time": "2014-05-10T15:16:16", "url": "https://files.pythonhosted.org/packages/4c/bc/8f685bfd618875252a4df4bbcc8eba8c905ebffb88763f739869aada690d/drf_wrapper-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "53a8b404ea90a405971e87c1b2d6ed61", "sha256": "5ff2bca30a85573519c70019872ffc371e84425db26f30f7dd79a5217bff9213" }, "downloads": -1, "filename": "drf_wrapper-0.1.macosx-10.9-x86_64.exe", "has_sig": false, "md5_digest": "53a8b404ea90a405971e87c1b2d6ed61", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 65710, "upload_time": "2014-05-10T15:16:21", "url": "https://files.pythonhosted.org/packages/83/2d/9e40b4db0bf66f42f1e5bedd6749705b4651bb1fc26b1fbbdc9069213cb1/drf_wrapper-0.1.macosx-10.9-x86_64.exe" }, { "comment_text": "", "digests": { "md5": "74a349f6571f80094ec519c9d2d40533", "sha256": "35d101e8f2cf703625da2181b38d21164ad105dc79a42823b5a4926f1b7a2484" }, "downloads": -1, "filename": "drf_wrapper-0.1.tar.gz", "has_sig": false, "md5_digest": "74a349f6571f80094ec519c9d2d40533", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2110, "upload_time": "2014-05-10T15:16:16", "url": "https://files.pythonhosted.org/packages/4c/bc/8f685bfd618875252a4df4bbcc8eba8c905ebffb88763f739869aada690d/drf_wrapper-0.1.tar.gz" } ] }