{ "info": { "author": "Brian Rue", "author_email": "brian@ratchet.io", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware", "Topic :: Software Development", "Topic :: Software Development :: Bug Tracking", "Topic :: Software Development :: Quality Assurance", "Topic :: Software Development :: Testing" ], "description": "django-ratchet - Django notifier for Ratchet.io_\n================================================\n\ndjango-ratchet is a simple middleware for reporting errors from Django apps to Ratchet.io_.\n\n\nRequirements\n------------\ndjango-ratchet requires:\n\n- Python 2.6 or 2.7\n- Django 1.4+\n- requests 0.13.1+\n- a Ratchet.io_ account\n\n\nInstallation\n------------\nInstall using pip::\n \n pip install django-ratchet\n\n\nConfiguration\n-------------\nBasic configuration requires two changes in your ``settings.py``.\n\n1. Add ``'django_ratchet.middleware.RatchetNotifierMiddleware'`` as the last item in ``MIDDLEWARE_CLASSES``::\n\n MIDDLEWARE_CLASSES = (\n # ... other middleware classes ...\n 'django_ratchet.middleware.RatchetNotifierMiddleware',\n )\n\n2. Add the ``RATCHET`` settings dictionary somewhere in ``settings.py``. The bare minimum is::\n\n RATCHET = {\n 'access_token': '32charactertokengoeshere',\n }\n \n\n Most users will want a few extra settings to take advantage of more features::\n\n RATCHET = {\n 'access_token': '32charactertokengoeshere',\n 'environment': 'production',\n 'branch': 'master',\n 'root': '/absolute/path/to/code/root',\n }\n\n To make the ``RATCHET`` settings available in your templates as ``ratchet_settings``, add the context processor::\n\n from django.conf import global_settings\n TEMPLATE_CONTEXT_PROCESSORS = global_settings.TEMPLATE_CONTEXT_PROCESSORS + (\n 'django_ratchet.context_processors.ratchet_settings',\n )\n\nHere's the full list of configuration variables:\n\naccess_token\n Access token from your Ratchet.io project\nenvironment\n Environment name. Any string up to 255 chars is OK. For best results, use \"production\" for your production environment.\n \n **default:** ``development`` if ``settings.DEBUG`` is ``True``, ``production`` otherwise\nhandler\n One of:\n\n - blocking -- runs in main thread\n - thread -- spawns a new thread\n - agent -- writes messages to a log file for consumption by ratchet-agent_\n\n **default:** ``thread``\ntimeout\n Request timeout (in seconds) when posting to Ratchet.\n \n **default:** ``1``\nroot\n Absolute path to the root of your application, not including the final ``/``. If your ``manage.py`` is in ``/home/brian/www/coolapp/manage.py``, then this should be set to ``/home/brian/www/coolapp`` . Required for Github integration.\nbranch\n Name of the checked-out branch. Required for Github integration.\nagent.log_file\n If ``handler`` is ``agent``, the path to the log file. Filename must end in ``.ratchet``\nendpoint\n URL items are posted to.\n \n **default:** ``https://submit.ratchet.io/api/1/item/``\nweb_base\n Base URL of the Ratchet.io web interface. Used for \"view in ratchet.io\" links.\n\n **default:** ``https://ratchet.io``\npatch_debugview\n If True, django.views.debug will be patched to show a \"View in Ratchet.io\" link on technical 500 debug error pages.\n\n **default:** ``True``\n\n\nContributing\n------------\n\nContributions are welcome. The project is hosted on github at http://github.com/ratchetio/django-ratchet\n\n\nAdditional Help\n---------------\nIf you have any questions, feedback, etc., drop us a line at support@ratchet.io\n\n\n.. _Ratchet.io: http://ratchet.io/\n.. _ratchet-agent: http://github.com/ratchetio/ratchet-agent", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/brianr/django_ratchet", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-ratchet", "package_url": "https://pypi.org/project/django-ratchet/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-ratchet/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/brianr/django_ratchet" }, "release_url": "https://pypi.org/project/django-ratchet/0.3.5/", "requires_dist": null, "requires_python": null, "summary": "Ratchet.io plugin for django", "version": "0.3.5" }, "last_serial": 790408, "releases": { "0.2.1": [ { "comment_text": "", "digests": { "md5": "f3589973f23ee23bd44e6db399f5baca", "sha256": "6f61169c52c197fd67a02c350c2e77a1e28312e55badad1bf671a92da9a50b45" }, "downloads": -1, "filename": "django-ratchet-0.2.1.tar.gz", "has_sig": false, "md5_digest": "f3589973f23ee23bd44e6db399f5baca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5016, "upload_time": "2012-08-13T00:31:25", "url": "https://files.pythonhosted.org/packages/8b/02/41a2e48fc95a19ff2e3bc958f86f0696b70392ccfc4f727a92bb88052414/django-ratchet-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "f1216281c91881e9b2a1b49a5f2c7942", "sha256": "8722f7551f3ab0bdebca63bee072cbf332207a8820ce182779d5d0dd092eaefc" }, "downloads": -1, "filename": "django-ratchet-0.2.2.tar.gz", "has_sig": false, "md5_digest": "f1216281c91881e9b2a1b49a5f2c7942", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5009, "upload_time": "2012-08-28T14:46:09", "url": "https://files.pythonhosted.org/packages/27/74/e466b495553d191ec4a5237521b342ac045a94dd611dde1d57f8ffc1b34a/django-ratchet-0.2.2.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "dee2773cae97bc4badebfc1661515d35", "sha256": "40fbe3892678a9496e218e596e34774012f9cbc96af8c58d68eba8d5857d5d53" }, "downloads": -1, "filename": "django-ratchet-0.3.1.tar.gz", "has_sig": false, "md5_digest": "dee2773cae97bc4badebfc1661515d35", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5941, "upload_time": "2012-09-23T20:18:49", "url": "https://files.pythonhosted.org/packages/44/2c/e4a8586d1fc33f828034e9da6ac86bb6a0bd40478eab0e40fda6033ca21f/django-ratchet-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "dafdd2c9818ece951b7d85a4729c5541", "sha256": "dc6548bd5368bc6548799df013ffdce590a61916d2c784dae85aedf5be89fa55" }, "downloads": -1, "filename": "django-ratchet-0.3.2.tar.gz", "has_sig": false, "md5_digest": "dafdd2c9818ece951b7d85a4729c5541", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6078, "upload_time": "2012-09-26T18:17:52", "url": "https://files.pythonhosted.org/packages/a9/07/e9bd710561120e153d4df1f2b11fae16c186da7cd8736c93b173d952a697/django-ratchet-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "7cba5158423c66f9c3fb988ab86f4f5f", "sha256": "b1aa05f84cf75bf3dca519686c407e2466aded68cbb3953f667fbd10abfff6fd" }, "downloads": -1, "filename": "django-ratchet-0.3.3.tar.gz", "has_sig": false, "md5_digest": "7cba5158423c66f9c3fb988ab86f4f5f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6333, "upload_time": "2012-11-09T19:55:51", "url": "https://files.pythonhosted.org/packages/cc/be/95bd568b20f46b2d663f25e67f09cb2904f1eac8ef457d07e9e7700191d5/django-ratchet-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "b3fcf7d386c28351faf093efaaa1beb0", "sha256": "d3da67a2194d8c2c8ec2786e6d455d74591d1b0f11123468ea77fd7363a5d139" }, "downloads": -1, "filename": "django-ratchet-0.3.4.tar.gz", "has_sig": false, "md5_digest": "b3fcf7d386c28351faf093efaaa1beb0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6327, "upload_time": "2012-11-09T19:58:19", "url": "https://files.pythonhosted.org/packages/64/3a/cc46122fdbd4b9ec55df150ce99134d8007d03b6665ea215f9be647e532e/django-ratchet-0.3.4.tar.gz" } ], "0.3.5": [ { "comment_text": "", "digests": { "md5": "05fe22efd5d6ebf1472648d810a57358", "sha256": "ead38e7d33f0bfcd58c1a9f1759a6ab64458df6a3c0c933534dc9fdd01fae38f" }, "downloads": -1, "filename": "django-ratchet-0.3.5.tar.gz", "has_sig": false, "md5_digest": "05fe22efd5d6ebf1472648d810a57358", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6522, "upload_time": "2012-11-21T19:14:57", "url": "https://files.pythonhosted.org/packages/7d/02/c0bb5ca78004e8050c1736f2366bb3b90d4fce9d792a41450d57e6cddf79/django-ratchet-0.3.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "05fe22efd5d6ebf1472648d810a57358", "sha256": "ead38e7d33f0bfcd58c1a9f1759a6ab64458df6a3c0c933534dc9fdd01fae38f" }, "downloads": -1, "filename": "django-ratchet-0.3.5.tar.gz", "has_sig": false, "md5_digest": "05fe22efd5d6ebf1472648d810a57358", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6522, "upload_time": "2012-11-21T19:14:57", "url": "https://files.pythonhosted.org/packages/7d/02/c0bb5ca78004e8050c1736f2366bb3b90d4fce9d792a41450d57e6cddf79/django-ratchet-0.3.5.tar.gz" } ] }