{ "info": { "author": "Sebastian Wehrmann", "author_email": "sebastian.wehrmann@me.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "=========================\nJSON-P base view for Grok\n=========================\n\nThis is a base view for Grok, which enables you to make JSON-P calls to your\nGrok application. It works nearly the same as the `grokcore.json.JSON` view,\nexcept the fact, that it requires the name of a JavaScript callback in the\nrequest into which it wraps the JSON data returned by your view.\n\n>>> import sw.grokcore.json\n\n>>> class MyView(sw.grokcore.jsonp.JSONP):\n... ...\n... def data(self):\n... return {'foo': 1234}\n\n>>> print http('GET /data?callback=jQuery-123 HTTP/1.1')\nHTTP/1.0 200 Ok\nContent-Length: 30\nContent-Type: application/json\n\njQuery-123({'foo': 1234});\n\n\n=========\nCHANGELOG\n=========\n\n\n0.1 (2012-04-12)\n================\n\n- initial release", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/sweh/sw.grokcore.jsonp", "keywords": "grok,json-p,jsonp,jquery", "license": "ZPL 2.1", "maintainer": null, "maintainer_email": null, "name": "sw.grokcore.jsonp", "package_url": "https://pypi.org/project/sw.grokcore.jsonp/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/sw.grokcore.jsonp/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/sweh/sw.grokcore.jsonp" }, "release_url": "https://pypi.org/project/sw.grokcore.jsonp/0.1/", "requires_dist": null, "requires_python": null, "summary": "JSON-P base view for Grok.", "version": "0.1" }, "last_serial": 800282, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "b17c567c93790b9db016c0e8bd72f164", "sha256": "222b278080262886fb82c6c8a71f9ac2ab28a87f7df6a48d0681141595e73417" }, "downloads": -1, "filename": "sw.grokcore.jsonp-0.1.tar.gz", "has_sig": false, "md5_digest": "b17c567c93790b9db016c0e8bd72f164", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5374, "upload_time": "2012-04-12T06:40:09", "url": "https://files.pythonhosted.org/packages/1d/44/dddbb867fad6d46c42089319963a85a84e768f27549904c6a3f4fe4b4e3e/sw.grokcore.jsonp-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b17c567c93790b9db016c0e8bd72f164", "sha256": "222b278080262886fb82c6c8a71f9ac2ab28a87f7df6a48d0681141595e73417" }, "downloads": -1, "filename": "sw.grokcore.jsonp-0.1.tar.gz", "has_sig": false, "md5_digest": "b17c567c93790b9db016c0e8bd72f164", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5374, "upload_time": "2012-04-12T06:40:09", "url": "https://files.pythonhosted.org/packages/1d/44/dddbb867fad6d46c42089319963a85a84e768f27549904c6a3f4fe4b4e3e/sw.grokcore.jsonp-0.1.tar.gz" } ] }