{ "info": { "author": "Andrey Nordin", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: WSGI", "Topic :: Software Development :: Libraries" ], "description": "**wsgistraw** (WSGI without STart_Response And Write) is a tiny Python\r\nlibrary that simplifies coding WSGI applications and middleware by removing\r\n``start_response`` and ``write`` from signatures of functions. This leads to a\r\nsignature like:\r\n\r\n::\r\n\r\n def app(environ):\r\n return \"200 OK\", [(\"Content-Type\", \"text/plain\")], [\"Hello World!\"]\r\n\r\nThat is, return a three-tuple of ``(status, headers, response)``.\r\n\r\n``start_response`` and ``write`` are very annoying in WSGI middleware. wsgistraw\r\nmakes your middleware code cleaner. This is an example of a \"lowercase\"\r\nmiddleware factory:\r\n\r\n::\r\n\r\n @wsgistraw.mid_factory\r\n def lowercase(app):\r\n def mid(environ):\r\n status, headers, response = app(environ)\r\n return status, headers, (s.lower() for s in response)\r\n return mid\r\n\r\nWhat's New\r\n----------\r\n\r\nA bugfix release. Fixed a bug in ``app_proxy`` with extending an iterable with\r\nthe results of ``write()``.\r\n\r\nSee Also\r\n--------\r\n\r\n* `wsgistraw Project`__\r\n* `WSGI 2.0 at WSGI Wiki`__\r\n* `PEP 333`__\r\n\r\n__ http://abstracthack.wordpress.com/wsgistraw\r\n__ http://www.wsgi.org/wsgi/WSGI_2.0\r\n__ http://www.python.org/dev/peps/pep-0333/", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://abstracthack.wordpress.com/wsgistraw", "keywords": "wsgi decorator start_response write", "license": "GNU LGPL", "maintainer": "", "maintainer_email": "", "name": "wsgistraw", "package_url": "https://pypi.org/project/wsgistraw/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/wsgistraw/", "project_urls": { "Homepage": "http://abstracthack.wordpress.com/wsgistraw" }, "release_url": "https://pypi.org/project/wsgistraw/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "Decorators for WSGI without start_response and write", "version": "0.1.2" }, "last_serial": 801760, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "a303b569e3317a274edf2ea80a2d480a", "sha256": "90b969b2df3ffb90907ef87eb08f6138d09bbd32313c3708d22654b889ecfec6" }, "downloads": -1, "filename": "wsgistraw-0.1-py2.4.egg", "has_sig": false, "md5_digest": "a303b569e3317a274edf2ea80a2d480a", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 4758, "upload_time": "2007-08-11T02:00:55", "url": "https://files.pythonhosted.org/packages/a6/de/3cedadeb1e3547cfe80830406c29587fde5c5ad139006a4183c10f02a3a0/wsgistraw-0.1-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "1fa29b19149dd5e428975fa9d1f90c8c", "sha256": "4804a5b70c318bffbd47397dea70b55ddf9f6110e3dc4af405b44d8c7a61bd58" }, "downloads": -1, "filename": "wsgistraw-0.1.zip", "has_sig": false, "md5_digest": "1fa29b19149dd5e428975fa9d1f90c8c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5900, "upload_time": "2007-08-11T02:00:42", "url": "https://files.pythonhosted.org/packages/44/3f/7cca931c1fdb1723fef1bc1ac7ecd2581750187d6a9332ed4282baa9a918/wsgistraw-0.1.zip" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "86664834c408bba20d4336c6557c5c9c", "sha256": "a5113f70918db978854437926f4eef6278039aad97e8148cc1c7364f13691fc7" }, "downloads": -1, "filename": "wsgistraw-0.1.1-py2.4.egg", "has_sig": false, "md5_digest": "86664834c408bba20d4336c6557c5c9c", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 5637, "upload_time": "2007-08-16T13:54:38", "url": "https://files.pythonhosted.org/packages/01/4b/1240682ceb6b4d08353e697dfd3ab6af97b31f02f6bc7c4bfe9f8b0c6cf7/wsgistraw-0.1.1-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "9cd40fcfee3690aae5eeac3b627da5c8", "sha256": "3301d6e5b5618d346ef75b01df39de6db97615a9e4b55f6d87be6be1169bedec" }, "downloads": -1, "filename": "wsgistraw-0.1.1.zip", "has_sig": false, "md5_digest": "9cd40fcfee3690aae5eeac3b627da5c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17203, "upload_time": "2007-08-16T13:54:21", "url": "https://files.pythonhosted.org/packages/29/46/e52a46003d6ccacd9d11e59ec6ac1a76b86e390ca0555d002b0701ed4387/wsgistraw-0.1.1.zip" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "3b7e6cd8592da5ef59da0fa9bfab2f42", "sha256": "6b564e88d753a995bbd9f02fc5d93046c7878a49d67dc398f10de06e57d1446f" }, "downloads": -1, "filename": "wsgistraw-0.1.2-py2.4.egg", "has_sig": false, "md5_digest": "3b7e6cd8592da5ef59da0fa9bfab2f42", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 5521, "upload_time": "2007-09-21T21:50:22", "url": "https://files.pythonhosted.org/packages/4f/42/daa3065782ed1aa5a1282c11196cbca9c39f7d187d7ab20fbdc0c701ad42/wsgistraw-0.1.2-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "70f49051741377d2ae4a3a6f7099812a", "sha256": "fb06c32aa458939f8a3dcda6482f6d3abde7b2dee63a862e6c8ff978daf7260a" }, "downloads": -1, "filename": "wsgistraw-0.1.2.zip", "has_sig": false, "md5_digest": "70f49051741377d2ae4a3a6f7099812a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16921, "upload_time": "2007-09-21T21:50:12", "url": "https://files.pythonhosted.org/packages/a8/26/7bf4c62384aacedbd1ace3d59cb2e8b88aa01b42f138c599495068a68224/wsgistraw-0.1.2.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3b7e6cd8592da5ef59da0fa9bfab2f42", "sha256": "6b564e88d753a995bbd9f02fc5d93046c7878a49d67dc398f10de06e57d1446f" }, "downloads": -1, "filename": "wsgistraw-0.1.2-py2.4.egg", "has_sig": false, "md5_digest": "3b7e6cd8592da5ef59da0fa9bfab2f42", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 5521, "upload_time": "2007-09-21T21:50:22", "url": "https://files.pythonhosted.org/packages/4f/42/daa3065782ed1aa5a1282c11196cbca9c39f7d187d7ab20fbdc0c701ad42/wsgistraw-0.1.2-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "70f49051741377d2ae4a3a6f7099812a", "sha256": "fb06c32aa458939f8a3dcda6482f6d3abde7b2dee63a862e6c8ff978daf7260a" }, "downloads": -1, "filename": "wsgistraw-0.1.2.zip", "has_sig": false, "md5_digest": "70f49051741377d2ae4a3a6f7099812a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16921, "upload_time": "2007-09-21T21:50:12", "url": "https://files.pythonhosted.org/packages/a8/26/7bf4c62384aacedbd1ace3d59cb2e8b88aa01b42f138c599495068a68224/wsgistraw-0.1.2.zip" } ] }