{ "info": { "author": "Dave McLain", "author_email": "dmclain@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=======================================\nDjango Debug Toolbar Line Profile Panel\n=======================================\n\nThe `Django Debug Toolbar \n`_ is a configurable set of panels that display various\ndebug information about the current request/response and when clicked, display\nmore details about the panel's content.\n\nThis package provides a panel that incorporates output from line_profiler_\n\nThe stock line_profiler is only compatible with the 2.x branch of python\nbut a patched version for Python 3 can be installed with::\n\n pip install cython\n pip install -e hg+https://bitbucket.org/kmike/line_profiler@7999f21#egg=line_profiler\n\n(cf. http://stackoverflow.com/questions/6273139/profiling-by-line-with-python-3)\n\nThis panel will only function with django_debug_toolbar>=1.0, before that it's functionality\nwas contained in the debug_toolbar.panels.profiling.ProfilingPanel.\n\nThis Django Debug Toolbar panel is released under the BSD license, like Django\nand the Django Debug Toolbar. If you like it, please consider contributing!\n\nThe Django Debug Toolbar was originally created by Rob Hudson\nin August 2008 and was further developed by many contributors.\n\n.. _line_profiler: http://pythonhosted.org/line_profiler/\n\n\nInstallation\n============\n\nTo install the line_profiler panel, first install this package with ``pip install django-debug-toolbar-line-profiler``, then add debug_toolbar_line_profiler to the INSTALLED_APPS::\n\n INSTALLED_APPS = (\n ...\n 'debug_toolbar_line_profiler',\n )\n\nand add the panel to DEBUG_TOOLBAR_PANELS::\n\n DEBUG_TOOLBAR_PANELS = (\n ...\n 'debug_toolbar_line_profiler.panel.ProfilingPanel',\n )\n\nConfiguration\n=============\n\nBy default, the panel will profile your view function. If you use class based views\nthe panel will profile all functions on the class that don't start with _. If you\nwant additional code to be profiled, add the @profile_additional decorator like so::\n\n from debug_toolbar_line_profiler import profile_additional\n from boto.s3.connection import S3Connection\n \n ...\n \n @profile_additional(S3Connection.make_request)\n def your_view_code(*args, **kwargs):\n ...\n\nSignals\n=======\n\nThere is also a signal (debug_toolbar_line_profiler.signals.profiler_setup) that\nyou can attach to for integrating class based views like django rest framework.\n\nHere is an example::\n\n from rest_framework.viewsets import ViewSet\n from rest_framework.response import Response\n from debug_toolbar_line_profiler import signals\n\n\n class AViewSet(ViewSet):\n def list(self, request):\n return Response([])\n\n def retrieve(self, request, pk=None):\n return Response({})\n\n\n def register_profile_views(sender, profiler, **kwargs):\n profiler.add_function(AViewSet.list)\n profiler.add_function(AViewSet.retrieve)\n\n\n signals.profiler_setup.connect(register_profile_views,\n dispatch_uid='register_profile_views')", "description_content_type": null, "docs_url": null, "download_url": "https://pypi.python.org/pypi/django-debug-toolbar-line-profiler", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dmclain/django-debug-toolbar-line-profiler", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-debug-toolbar-line-profiler", "package_url": "https://pypi.org/project/django-debug-toolbar-line-profiler/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-debug-toolbar-line-profiler/", "project_urls": { "Download": "https://pypi.python.org/pypi/django-debug-toolbar-line-profiler", "Homepage": "https://github.com/dmclain/django-debug-toolbar-line-profiler" }, "release_url": "https://pypi.org/project/django-debug-toolbar-line-profiler/0.6.1/", "requires_dist": null, "requires_python": null, "summary": "A panel for django-debug-toolbar that integrates information from line_profiler", "version": "0.6.1" }, "last_serial": 1986703, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "8424b22b156dd2e32b40920bdac6adc5", "sha256": "006110e5b0d9822c1c57419dbca79fd2bdbd089e3292230a486d966ca5aa673e" }, "downloads": -1, "filename": "django-debug-toolbar-line-profiler-0.2.0.tar.gz", "has_sig": false, "md5_digest": "8424b22b156dd2e32b40920bdac6adc5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5892, "upload_time": "2013-11-28T03:39:20", "url": "https://files.pythonhosted.org/packages/1c/45/2c2997c931c0a39d5882f262ffb05c8824d8d0bf009c3fe80519a5538655/django-debug-toolbar-line-profiler-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "8803a72c7cdd2c2210691b58e2268523", "sha256": "6c5536768ab0556dcf754f552af4c0c89d714fc41278d2d5ab2964d0c5b6cb47" }, "downloads": -1, "filename": "django-debug-toolbar-line-profiler-0.2.1.tar.gz", "has_sig": false, "md5_digest": "8803a72c7cdd2c2210691b58e2268523", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6135, "upload_time": "2014-01-18T21:45:10", "url": "https://files.pythonhosted.org/packages/68/6c/4f94cf306f08f162186797df82de33866ce16ea7d7f9589fcb471a36a5ee/django-debug-toolbar-line-profiler-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "e2c4e3031064e435e1d5e7454f0f25e9", "sha256": "c8d37a2b368f60969459e0d9cc3736fb70c11b3de64160dcc3c83ab5503550f2" }, "downloads": -1, "filename": "django-debug-toolbar-line-profiler-0.2.2.tar.gz", "has_sig": false, "md5_digest": "e2c4e3031064e435e1d5e7454f0f25e9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6150, "upload_time": "2014-02-07T19:16:37", "url": "https://files.pythonhosted.org/packages/6d/f8/898219d175b6aa747be07b4f58f158ca7272d571da9365173a3f45154253/django-debug-toolbar-line-profiler-0.2.2.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "818747174f6ca4068d4915b25b4f6fd2", "sha256": "592af299f35b1744c5dda17c9a307d453f69833c9ec0b1e2808d6bb3ab8767ef" }, "downloads": -1, "filename": "django-debug-toolbar-line-profiler-0.3.0.tar.gz", "has_sig": false, "md5_digest": "818747174f6ca4068d4915b25b4f6fd2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6497, "upload_time": "2014-02-17T18:06:24", "url": "https://files.pythonhosted.org/packages/14/75/5c4175cb6586b8b0564db6c354a98bcc5163e9616eb4dc25bd85b7b0c4bb/django-debug-toolbar-line-profiler-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "b587729e5326725d57e6fc9bb1838c44", "sha256": "5efe22343f0c11c25233fcab6465a361ce01a8c9237eac64584c19f6f0744033" }, "downloads": -1, "filename": "django-debug-toolbar-line-profiler-0.4.0.tar.gz", "has_sig": false, "md5_digest": "b587729e5326725d57e6fc9bb1838c44", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6543, "upload_time": "2014-02-19T03:43:23", "url": "https://files.pythonhosted.org/packages/ab/47/56247452a0a2f66206335d14704547335799accaac0de9a9933989dd50d2/django-debug-toolbar-line-profiler-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "784a9f8ce426dd3d41c22ab64ba0157b", "sha256": "6c1ebcad7e4f1ee48bd463b01754de7abd8946e7e4a759f30e9d5bf74c52cbe0" }, "downloads": -1, "filename": "django-debug-toolbar-line-profiler-0.5.0.tar.gz", "has_sig": false, "md5_digest": "784a9f8ce426dd3d41c22ab64ba0157b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7367, "upload_time": "2016-02-02T23:08:01", "url": "https://files.pythonhosted.org/packages/2f/9d/cba410d3dcf483cf4cd1e5ff6bae1f94f619612de19952ab01bde13d82a5/django-debug-toolbar-line-profiler-0.5.0.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "db3de79ba6bf8853283de3e8d8719565", "sha256": "19cd2fc87e34182ed813929df0b5c98d33b855b7a73324fbae1f4105037c6fe3" }, "downloads": -1, "filename": "django-debug-toolbar-line-profiler-0.5.1.tar.gz", "has_sig": false, "md5_digest": "db3de79ba6bf8853283de3e8d8719565", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7905, "upload_time": "2016-03-02T21:44:46", "url": "https://files.pythonhosted.org/packages/0a/e5/4125afd92ae6a2157e32231c5d236ed5b0f115ef977fb9157c7bf7956f66/django-debug-toolbar-line-profiler-0.5.1.tar.gz" } ], "0.5.2": [ { "comment_text": "", "digests": { "md5": "b96bc5e4b116000bd7304f9fa559aa28", "sha256": "9114d6d3e04d0fec8710fddedfc8c37f8482b446dfc38b34bf7e71638064ec08" }, "downloads": -1, "filename": "django-debug-toolbar-line-profiler-0.5.2.tar.gz", "has_sig": false, "md5_digest": "b96bc5e4b116000bd7304f9fa559aa28", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7911, "upload_time": "2016-03-02T22:25:06", "url": "https://files.pythonhosted.org/packages/de/89/f7134db3ccc99cb258540f1498fad2c191ab5dbf5875809adf21b0dd9353/django-debug-toolbar-line-profiler-0.5.2.tar.gz" } ], "0.6.1": [ { "comment_text": "", "digests": { "md5": "c755f7f2023686352fe348988113fd33", "sha256": "30dcf8850e833d34d271f010c60779afad2ab71b7428bf48dbf6322ce7bf6bfe" }, "downloads": -1, "filename": "django-debug-toolbar-line-profiler-0.6.1.tar.gz", "has_sig": false, "md5_digest": "c755f7f2023686352fe348988113fd33", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7909, "upload_time": "2016-03-03T00:07:36", "url": "https://files.pythonhosted.org/packages/0d/a3/2bbde1c1a9bfac3be34723d2c8d79fe8de37701b7ecab75261f7fa283d16/django-debug-toolbar-line-profiler-0.6.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c755f7f2023686352fe348988113fd33", "sha256": "30dcf8850e833d34d271f010c60779afad2ab71b7428bf48dbf6322ce7bf6bfe" }, "downloads": -1, "filename": "django-debug-toolbar-line-profiler-0.6.1.tar.gz", "has_sig": false, "md5_digest": "c755f7f2023686352fe348988113fd33", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7909, "upload_time": "2016-03-03T00:07:36", "url": "https://files.pythonhosted.org/packages/0d/a3/2bbde1c1a9bfac3be34723d2c8d79fe8de37701b7ecab75261f7fa283d16/django-debug-toolbar-line-profiler-0.6.1.tar.gz" } ] }