{ "info": { "author": "Steve Losh", "author_email": "steve@stevelosh.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6" ], "description": "django-hoptoad\r\n==============\r\n\r\ndjango-hoptoad is some simple Middleware for letting [Django][]-driven websites report their \r\nerrors to [Hoptoad][]. Now [ponies][] can ride the toad too.\r\n\r\n[Django]: http://djangoproject.com/\r\n[Hoptoad]: http://hoptoadapp.com/\r\n[ponies]: http://djangopony.com/\r\n\r\n\r\nRequirements\r\n------------\r\n\r\ndjango-hoptoad requires:\r\n\r\n* [Python][] 2.5+ (preferably 2.6+ as that's what I've tested it with)\r\n* [PyYAML][] (`pip install pyyaml` or `easy_install pyyaml`)\r\n* [Django][] 1.0+\r\n* A [Hoptoad][] account\r\n\r\n[Python]: http://python.org/\r\n[PyYAML]: http://pyyaml.org/\r\n\r\n\r\nInstallation\r\n------------\r\n\r\nGrab the the django-hoptoad code by cloning the [Mercurial][] repository (or just [download the \r\nlatest version][tip-dl] and unzip it somewhere):\r\n\r\nhg clone http://bitbucket.org/sjl/django-hoptoad/\r\n\r\nThere's a git mirror too if you *really* want it.\r\n\r\ngit clone git://github.com/sjl/django-hoptoad.git\r\n\r\nOnce you download it, you can install it in the usual manner:\r\n\r\ncd django-hoptoad\r\npython setup.py install\r\n\r\nIf you'd prefer to be able to update at any time by pulling down changes with Mercurial or git, you \r\ncan symlink the module into your `site-packages` directory instead of using `python setup.py install`:\r\n\r\nln -s /full/path/to/django-hoptoad/hoptoad /full/path/to/site-packages/\r\n\r\nTo make sure it works you can run:\r\n\r\npython -c 'import hoptoad'\r\n\r\n[Mercurial]: http://mercurial.selenic.com/\r\n[tip-dl]: http://bitbucket.org/sjl/django-hoptoad/get/tip.zip\r\n\r\n\r\nUsage\r\n-----\r\n\r\nTo set up a Django project to notify Hoptoad of its errors, you need to do two things in its \r\n`settings.py` file.\r\n\r\nFirst, add the `HoptoadNotifierMiddleware` as the last item in the `MIDDLEWARE_CLASSES` \r\nsetting:\r\n\r\nMIDDLEWARE_CLASSES = (\r\n# ... other middleware classes ...\r\n'hoptoad.middleware.HoptoadNotifierMiddleware',\r\n)\r\n\r\nNext, you'll need to add a `HOPTOAD_API_KEY` setting. You can get the key from the Hoptoad \r\nproject page.\r\n\r\nHOPTOAD_API_KEY = 'Your Hoptoad API key.'\r\n\r\n\r\nDocumentation\r\n-------------\r\n\r\nThe documentation for django-hoptoad is at the [project page][project]. There's a [Quick Start \r\nguide][quickstart], [Configuration guide][config], [Troubleshooting guide][troubleshooting], and a few \r\nother things there.\r\n\r\nThe documentation is stored in the `docs/` directory of the repository if you prefer to read it \r\noffline.\r\n\r\n[project]: http://sjl.bitbucket.org/django-hoptoad/\r\n[quickstart]: http://sjl.bitbucket.org/django-hoptoad/quickstart/\r\n[config]: http://sjl.bitbucket.org/django-hoptoad/config/\r\n[troubleshooting]: http://sjl.bitbucket.org/django-hoptoad/troubleshooting/\r\n\r\n\r\nSuggestions\r\n-----------\r\n\r\nThis Middleware is a work in progress. If you have a suggestion or find a bug please [add an \r\nissue][issues] and let me know.\r\n\r\n[issues]: http://bitbucket.org/sjl/django-hoptoad/issues/?status=new&status=open", "description_content_type": null, "docs_url": null, "download_url": "http://bitbucket.org/sjl/django-hoptoad/get/0.2.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://stevelosh.com/projects/django-hoptoad/", "keywords": "", "license": "MIT/X11", "maintainer": "", "maintainer_email": "", "name": "django-hoptoad", "package_url": "https://pypi.org/project/django-hoptoad/", "platform": "Any", "project_url": "https://pypi.org/project/django-hoptoad/", "project_urls": { "Download": "http://bitbucket.org/sjl/django-hoptoad/get/0.2.zip", "Homepage": "http://stevelosh.com/projects/django-hoptoad/" }, "release_url": "https://pypi.org/project/django-hoptoad/0.2/", "requires_dist": null, "requires_python": null, "summary": "django-hoptoad is some simple Middleware for letting Django-driven websites report their errors to Hoptoad.", "version": "0.2" }, "last_serial": 789811, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "3442139d9f0eef58a3968335cecbe899", "sha256": "533a11c01f40ecc690ba75df6a6190310acadea3ac90ffdf7858e59377b064e5" }, "downloads": -1, "filename": "django-hoptoad-0.2.tar.gz", "has_sig": false, "md5_digest": "3442139d9f0eef58a3968335cecbe899", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12339, "upload_time": "2009-12-22T01:56:13", "url": "https://files.pythonhosted.org/packages/7c/d4/3b1041978f5a0a791da0e4fa9ebf352f5997de9d521fc8c0fec8b1e5d51a/django-hoptoad-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3442139d9f0eef58a3968335cecbe899", "sha256": "533a11c01f40ecc690ba75df6a6190310acadea3ac90ffdf7858e59377b064e5" }, "downloads": -1, "filename": "django-hoptoad-0.2.tar.gz", "has_sig": false, "md5_digest": "3442139d9f0eef58a3968335cecbe899", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12339, "upload_time": "2009-12-22T01:56:13", "url": "https://files.pythonhosted.org/packages/7c/d4/3b1041978f5a0a791da0e4fa9ebf352f5997de9d521fc8c0fec8b1e5d51a/django-hoptoad-0.2.tar.gz" } ] }