{ "info": { "author": "Brian Hicks", "author_email": "brian@brianthicks.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 2.7" ], "description": "Django-plop\n===========\n\nDjango-plop is a middleware for profiling your views with\n`PLOP `__, the Python Low Overhead\nProfiler.\n\nUsage\n-----\n\nInstall it with pip (or easy_install, if that's how you roll)::\n\n pip install django-plop\n\nIn your project settings::\n\n MIDDLEWARE_CLASSES = MIDDLEWARE_CLASSES + ('django-plop.middleware.PlopMiddleware',)\n\n PLOP_DIR = os.path.join(PROJECT_ROOT, 'plop') # will be created, defaults to /tmp/plop\n\nThen start your server with ``python manage.py --noreload`` (the ``--noreload``\nis very important.) Hit a few pages, and then start the plop viewer like so::\n\n python -m plop.viewer --datadir=plop\n\nAnd navigate to `localhost:8888 `__ to view the\nprofile results.\n\nNote\n~~~~\n\n``--noreload`` is used in development to allow the signalling features PLOP\nuses. This means it sadly won't work with some alternate runserver\nimplementations such as ``django-devserver``. It will, however, work in prefork\nenvironments like Gunicorn.\n\nProduction Usage\n----------------\n\nPLOP itself is `used in production by Dropbox\n`__ with 2% CPU overhead (or\nso). However, this middleware will write logs to the disk, which may not\nbe acceptable for your use case (especially on Heroku and other PaaSes)\n\nNon-goals\n---------\n\nDjango-plop won't install tornado for you (you need it to use the plop\nvisualizer.) This is because you can use it in production, and you may not want\nto have tornado kicking around in your production environment. If you you want\nto have it installed for you, install with the \"viewer\" extras::\n\n pip install django-plop[viewer]", "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/brianhicks/django-plop", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django_plop", "package_url": "https://pypi.org/project/django_plop/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django_plop/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/brianhicks/django-plop" }, "release_url": "https://pypi.org/project/django_plop/0.0.1/", "requires_dist": null, "requires_python": null, "summary": "Middleware for Django to support plop profiling", "version": "0.0.1" }, "last_serial": 705095, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "08989af09bb277557f74a0e93ad821d2", "sha256": "52f48d19355b4457d77da4159320ea4823efca2c50468eff8951cabf8223c3ed" }, "downloads": -1, "filename": "django_plop-0.0.1.tar.gz", "has_sig": false, "md5_digest": "08989af09bb277557f74a0e93ad821d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2515, "upload_time": "2013-05-13T19:53:21", "url": "https://files.pythonhosted.org/packages/73/c5/f14ca0ca52760d1b009d81cbf55d475dc987cffc19464a20cb0e6ad6dd4c/django_plop-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "08989af09bb277557f74a0e93ad821d2", "sha256": "52f48d19355b4457d77da4159320ea4823efca2c50468eff8951cabf8223c3ed" }, "downloads": -1, "filename": "django_plop-0.0.1.tar.gz", "has_sig": false, "md5_digest": "08989af09bb277557f74a0e93ad821d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2515, "upload_time": "2013-05-13T19:53:21", "url": "https://files.pythonhosted.org/packages/73/c5/f14ca0ca52760d1b009d81cbf55d475dc987cffc19464a20cb0e6ad6dd4c/django_plop-0.0.1.tar.gz" } ] }