{ "info": { "author": "Kevin Mooney", "author_email": "kmooney@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "==============\ndjango-latency\n==============\n\ndjango-latency is a django application that only contains middleware to simulate network\nlatency on your local machine. It causes your views to take several seconds to return.\n\nThis helps you identify client-side code that relies on low-latency server side code,\nwhich is generally an anti-pattern.\n\nLike a runner training with weighted shoes, django-latency lets you feel the pain of \nclient-server dependencies. \n\n\nSet Up\n=================\nSetting up django-latency is easy. After it is installed in your environemnt and on \nyour path, simply add the middleware class to your MIDDLEWARE_CLASSES list::\n\n MIDDLEWARE_CLASSES = (\n ...\n 'latency.middleware.LatencyMiddleware',\n ...\n )\n\ndjango-latency optionally accepts a settings variable called LATENCY_MIDDLEWARE. Currently, \nLATENCY_MIDDLEWARE is a dictionary whose only key is \"WAIT_TIME,\" a floating point value.\n\nFor example::\n\n LATENCY_MIDDLEWARE = {\n 'WAIT_TIME': 5.0\n }", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/django-latency/", "keywords": null, "license": "LICENSE.txt", "maintainer": null, "maintainer_email": null, "name": "django-latency", "package_url": "https://pypi.org/project/django-latency/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-latency/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/django-latency/" }, "release_url": "https://pypi.org/project/django-latency/0.0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Destroy the performance of your site (for testing reasons!) with django-latency!", "version": "0.0.1.1" }, "last_serial": 789954, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "116ed72629fb0cfe82d68c0c1fdfd138", "sha256": "452bca5e45670b8db84c1573ce74f30648d54dfd551a485a1c5c452c0271c532" }, "downloads": -1, "filename": "django-latency-0.0.1.tar.gz", "has_sig": false, "md5_digest": "116ed72629fb0cfe82d68c0c1fdfd138", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1678, "upload_time": "2013-02-17T22:46:43", "url": "https://files.pythonhosted.org/packages/29/30/80aaffc5cafd42a87c54b8227e531affbd4a5dbbfce098ab5a396858a678/django-latency-0.0.1.tar.gz" } ], "0.0.1.1": [ { "comment_text": "", "digests": { "md5": "1ef6a6cdb51f880a08c24ba087cc843f", "sha256": "78393ce41150fa6f863a7c981922e2b959e2b83b3dba60fc3586cfad14194e0a" }, "downloads": -1, "filename": "django-latency-0.0.1.1.tar.gz", "has_sig": false, "md5_digest": "1ef6a6cdb51f880a08c24ba087cc843f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1819, "upload_time": "2013-02-17T22:54:50", "url": "https://files.pythonhosted.org/packages/c2/e3/32372b9d999d90f27ba817e1016af909df85610363bf49d50e6adcfc9711/django-latency-0.0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1ef6a6cdb51f880a08c24ba087cc843f", "sha256": "78393ce41150fa6f863a7c981922e2b959e2b83b3dba60fc3586cfad14194e0a" }, "downloads": -1, "filename": "django-latency-0.0.1.1.tar.gz", "has_sig": false, "md5_digest": "1ef6a6cdb51f880a08c24ba087cc843f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1819, "upload_time": "2013-02-17T22:54:50", "url": "https://files.pythonhosted.org/packages/c2/e3/32372b9d999d90f27ba817e1016af909df85610363bf49d50e6adcfc9711/django-latency-0.0.1.1.tar.gz" } ] }