{ "info": { "author": "stan", "author_email": "stan@hooper.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "============\nwsgim-record\n============\n\n.. image:: https://travis-ci.org/bninja/wsgim-record.png\n :target: https://travis-ci.org/bninja/wsgim-record\n\n.. image:: https://coveralls.io/repos/bninja/wsgim-record/badge.png\n :target: https://coveralls.io/r/bninja/wsgim-record\n\nWSGI middleware for conditionally recording request/response information.\n\nInstall it:\n\n.. code:: bash\n\n $ pip install wsgim-record\n ...\n\nand use it:\n\n.. code:: python\n\n import wsgim_record\n\n class RecordMiddleware(wsgim_record.RecordMiddleware)\n \n # tell what to record\n\n def record_input(self, environ)\n return True\n\n def record_errors(self, environ)\n return False\n\n def record_output(self, environ, status, headers, exc_info=None)\n return True\n\n # what was recorded\n \n def recorded(self, environ, input, errors, status, headers, output):\n ...\n\n wrapped = RecordMiddleware(app)", "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/bninja/wsgim-record", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "wsgim-record", "package_url": "https://pypi.org/project/wsgim-record/", "platform": "any", "project_url": "https://pypi.org/project/wsgim-record/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/bninja/wsgim-record" }, "release_url": "https://pypi.org/project/wsgim-record/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "WSGI middleware for recording requests/responses.", "version": "0.1.1" }, "last_serial": 1171856, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "6888000e28decf5642c71670cb3d3fa7", "sha256": "e85ec19ce831161606085eddf7b1aa8dd70725aa9290a6832988a72cefc6b973" }, "downloads": -1, "filename": "wsgim-record-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6888000e28decf5642c71670cb3d3fa7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1718, "upload_time": "2014-07-28T14:33:14", "url": "https://files.pythonhosted.org/packages/d1/47/613a914493b2faa2de13076a2b9f4ee44518634e655cf40bbe591c429d52/wsgim-record-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "b6e0b17478ec505ab771568dd113bbf1", "sha256": "2a172de80c1a21ec9a4f7a6c0b4dab09b72d8124c954f9a5504d1352015a47ff" }, "downloads": -1, "filename": "wsgim-record-0.1.1.tar.gz", "has_sig": false, "md5_digest": "b6e0b17478ec505ab771568dd113bbf1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3711, "upload_time": "2014-07-28T14:35:07", "url": "https://files.pythonhosted.org/packages/83/ae/ea22c806c4f4d8a9fd0efe4a0d381a2f2bcc0418e05c187d70cb16fefbda/wsgim-record-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b6e0b17478ec505ab771568dd113bbf1", "sha256": "2a172de80c1a21ec9a4f7a6c0b4dab09b72d8124c954f9a5504d1352015a47ff" }, "downloads": -1, "filename": "wsgim-record-0.1.1.tar.gz", "has_sig": false, "md5_digest": "b6e0b17478ec505ab771568dd113bbf1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3711, "upload_time": "2014-07-28T14:35:07", "url": "https://files.pythonhosted.org/packages/83/ae/ea22c806c4f4d8a9fd0efe4a0d381a2f2bcc0418e05c187d70cb16fefbda/wsgim-record-0.1.1.tar.gz" } ] }