{ "info": { "author": "4teamwork AG", "author_email": "mailto:info@4teamwork.ch", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "===================\n errbit for python\n===================\n\nAn `errbit `_ client for python.\n\n\nInstallation\n============\n\nAdd `errbit` to your package dependencies in `setup.py` or `requirements.txt`.\n\n\nConfiguration\n=============\n\nConfigure errbit with environment variables:\n\n- ``ERRBIT_URL`` - the post-url to your errbit installation.\n- ``ERRBIT_APP_ID`` - your errbit app id (see URL when visiting the app).\n- ``ERRBIT_API_KEY`` - your errbit API key.\n- ``ERRBIT_PACKAGE`` - the setuptools name of your package.\n- ``ERRBIT_ENVIRONMENT`` - the name of the environment you are running, such as\n ``staging`` or ``production``.\n- ``ERRBIT_HTTP_CLIENT`` - Switch the http client implementation. Switching the\n implementation can solve different problems when communicating from private\n networks with HTTP proxies. Current implementations are: ``requests``, ``urllib``,\n ``urllib2``.\n- ``ERRBIT_IGNORE`` - path to ignore file (default: ~/.errbit/errbit_ignore.json)\n\nIgnore file\n-----------\n\nThe thrown exception will be ignored and not passed to errbit if its message matches one of the regex in ``exception_msg``.\n\n.. code:: json\n\n {\n \"exception_msg\": [\n \"^AttributeError\\\\b\",\n \"regex2\"\n ]\n }\n\n\nUsage\n=====\n\nThe ``errbit`` package ships with the core notification implementation for errbit\nand integrations for some frameworks.\n\n\nManually posting exceptions\n---------------------------\n\nUse the errbit client to post exceptions to an errbit installation:\n\n.. code:: python\n\n from errbit.client import Client\n import sys\n\n client = Client()\n try:\n do_something()\n except:\n exc_info = sys.exc_info()\n\n request = {\n 'url': 'http://my.app/app/folders/create',\n 'component': 'folders',\n 'action': 'create',\n 'params': {\n 'title': 'My Folder'},\n 'session': {\n 'cookie': 'session_id=123345'},\n 'cgi-data': {\n 'HTTP_X_FORWARDED_HOST': 'my.app'}}\n\n client.post(exc_info, request=request)\n\n\nPlone\n-----\n\nPlone integration is automatically done with a logging handler,\nnothing needs to be done for enabling it beside configuring the environment variables.\n\nFor testing the connection you can call the view ``errbit-make-error`` as ``Manager``.\n\nReport JavaScript errors in Plone\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nIn order to report JavaScript errors, install the Generic Setup profile\n``profile-errbit.ploneintegration:default``, which registers the necessary\nJavaScript resources.\n\nFor JavaScript reporting the ``ERRBIT_APP_ID`` environment variable needs to be set.\n\nTest the configuration: if ``http://localhost:8080/Plone/errbit-plone.js`` is empty\nnot all enviornment variables are configured.\n\n\nDevelopment / tests\n===================\n\nInstall the package and run the tests using buildout:\n\n.. code:: sh\n\n git clone git@github.com:4teamwork/errbit-python.git\n cd errbit-python\n ln -s test-plone-4.3.x.cfg buildout.cfg\n python2.7 bootstrap.py\n bin/buildout\n bin/test\n\n\nLinks\n-----\n\n- Github: https://github.com/4teamwork/errbit-python\n- Issues: https://github.com/4teamwork/errbit-python/issues\n- Pypi: http://pypi.python.org/pypi/errbit-python\n- Continuous integration: https://jenkins.4teamwork.ch/search?q=errbit-python\n\n\nCopyright\n---------\n\nThis package is copyright by `4teamwork `_.\n\n``errbit-python`` is licensed under GNU General Public License, version 2.\n\nChangelog\n=========\n\n\n1.4.0 (2016-01-10)\n------------------\n\n- Add uninstall profile for Plone integration.\n [jone]\n\n\n1.3.1 (2015-08-10)\n------------------\n\n- Fix bug when trying to log a cleanup error.\n [jone]\n\n\n1.3.0 (2015-03-02)\n------------------\n\n- Implement JavaScript error reporting.\n The profile \"errbit-ploneintegration:default\" must be installed.\n [jone]\n\n\n1.2.1 (2015-03-02)\n------------------\n\n- Fix type error when having non-strings as keys in request's cgi-data.\n [jone]\n\n\n1.2.0 (2015-02-27)\n------------------\n\n- Post \"unknown\" app version when ERRBIT_PACKAGE is invalid.\n [jone]\n\n- Log errors happening while handling errors.\n [jone]\n\n- Make get_ignore_regex() look in a default location for the ignore file.\n [lgraf]\n\n\n1.1.5 (2014-08-11)\n------------------\n\n- Fix empty message syntax in XML.\n [jone]\n\n\n1.1.4 (2014-03-18)\n------------------\n\n- Added regex filter for exception messages.\n [lknoepfel]\n\n\n1.1.3 (2013-09-12)\n------------------\n\n- Fix TypeError with Python 2.6 and Plone.\n [jone]\n\n\n1.1.2 (2013-09-02)\n------------------\n\n- Plone: refactor cleanups to cleanup cookies in all places.\n [jone]\n\n\n1.1.1 (2013-09-02)\n------------------\n\n- Plone: send component and action too.\n [jone]\n\n- Plone: remove keys containing \"pass\" from request data and session cookie.\n We should not send the users password on registration / login failures.\n [jone]\n\n- Plone: add errbit-make-error for testing the connection.\n [jone]\n\n\n1.1.0 (2013-08-28)\n------------------\n\n- Implement urllib2 HTTP client.\n [jone]\n\n- Implement urllib HTTP client.\n [jone]\n\n- Refactor HTTP posting and add ERRBIT_HTTP_CLIENT environment variable for\n choosing a different implementation.\n [jone]\n\n\n1.0.0 (2013-08-27)\n------------------\n\n- Initial implementation.\n [jone]", "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/4teamwork/errbit-python", "keywords": "errbit client python", "license": "GPL2", "maintainer": null, "maintainer_email": null, "name": "errbit", "package_url": "https://pypi.org/project/errbit/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/errbit/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/4teamwork/errbit-python" }, "release_url": "https://pypi.org/project/errbit/1.4.0/", "requires_dist": null, "requires_python": null, "summary": "An errbit client for python", "version": "1.4.0" }, "last_serial": 5823565, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "41685c6402931ec3e8ea63865ad85305", "sha256": "ae94b01a205e3cf7951c98797e567770938e3c608bd80bf62b4a7c140d249ff4" }, "downloads": -1, "filename": "errbit-1.0.0.zip", "has_sig": false, "md5_digest": "41685c6402931ec3e8ea63865ad85305", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19967, "upload_time": "2013-08-27T11:27:36", "url": "https://files.pythonhosted.org/packages/db/48/24fad7423a317bd15cf82626f3216cce2a9c7c5c5eefa8cfa0569c370c68/errbit-1.0.0.zip" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "818ba3df340b22b6e6c15d0ddc685888", "sha256": "18baa3cdd77fbba90a435d9884b80ef92f538f1d9248d1289c3a4c329686da74" }, "downloads": -1, "filename": "errbit-1.1.0.zip", "has_sig": false, "md5_digest": "818ba3df340b22b6e6c15d0ddc685888", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21437, "upload_time": "2013-08-28T09:12:39", "url": "https://files.pythonhosted.org/packages/c3/44/3bde0fa903d853f6f7fbce4c37845b301bbad4013696475555b4c0a8e5c0/errbit-1.1.0.zip" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "00c62f9ca20d982aaed033770384de4f", "sha256": "792eed1a7ac054999cfdea95fb1daa74a6735eaf62f0b60088a21dd9159c9409" }, "downloads": -1, "filename": "errbit-1.1.1.zip", "has_sig": false, "md5_digest": "00c62f9ca20d982aaed033770384de4f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22810, "upload_time": "2013-09-02T11:40:30", "url": "https://files.pythonhosted.org/packages/e0/94/397d3ed0669e1af67eb0934f63ba38fb8d60a643b2b3893ad347c743d117/errbit-1.1.1.zip" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "c591db2a27af79e412482142391c15b5", "sha256": "9ca9c5ff1f03468bb8b96806d8ab0e2725d5f6b3105af54661202778088d35c6" }, "downloads": -1, "filename": "errbit-1.1.2.zip", "has_sig": false, "md5_digest": "c591db2a27af79e412482142391c15b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24119, "upload_time": "2013-09-02T16:54:35", "url": "https://files.pythonhosted.org/packages/00/a0/4fe138bf67023e3f057680106113a4d3aa598341e5d506fd1cafa6c464ee/errbit-1.1.2.zip" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "bf945c0a20d5f7c495eebf6f2499b39d", "sha256": "20a615eb39bd92b766f55ac8088d6a60f7f0b607b26e223eb686fc06463d4aac" }, "downloads": -1, "filename": "errbit-1.1.3.zip", "has_sig": false, "md5_digest": "bf945c0a20d5f7c495eebf6f2499b39d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24215, "upload_time": "2013-09-12T10:21:04", "url": "https://files.pythonhosted.org/packages/9a/25/2bff58520a6c72b53d5ff3cdaacbb0016e6af1f6bce7c449151ef5664906/errbit-1.1.3.zip" } ], "1.1.4": [ { "comment_text": "", "digests": { "md5": "647d1db9ced2fbb3f1da6dedf872dd07", "sha256": "6aa95feb71ebf2358cc0852ea48499644c5c9a2da6d2f17a47712f82d875c77d" }, "downloads": -1, "filename": "errbit-1.1.4.zip", "has_sig": false, "md5_digest": "647d1db9ced2fbb3f1da6dedf872dd07", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26047, "upload_time": "2014-03-18T14:04:39", "url": "https://files.pythonhosted.org/packages/61/2b/3441f59b6b2ab9dd611da1cb42296cd876d79903d67d66ff7ccdf016a5bd/errbit-1.1.4.zip" } ], "1.1.5": [ { "comment_text": "", "digests": { "md5": "068817f20baf3f13939bde5287f0e92f", "sha256": "4dbcd27e11bd4c589b97bd6c9c25cdc463dfd9b09409f1dae99a10b7f064ecc7" }, "downloads": -1, "filename": "errbit-1.1.5.zip", "has_sig": false, "md5_digest": "068817f20baf3f13939bde5287f0e92f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26211, "upload_time": "2014-08-11T13:38:38", "url": "https://files.pythonhosted.org/packages/af/e0/5513bff64e9a8384aae04bfa1151d0e443438b1d8e64ce739a7876c7d649/errbit-1.1.5.zip" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "bf27e0b17e8899b48c207454c3a8a89f", "sha256": "c4cda73f19c62e9014e5141db93c30d01c75849af30d4b7b3d3c0da286669423" }, "downloads": -1, "filename": "errbit-1.2.0.zip", "has_sig": false, "md5_digest": "bf27e0b17e8899b48c207454c3a8a89f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27805, "upload_time": "2015-02-27T14:32:17", "url": "https://files.pythonhosted.org/packages/3e/57/72ad4fa838675d4f676d055836020c2f5599910dee04947ae8b8d822e72e/errbit-1.2.0.zip" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "273e7bd9795aec839cbeb9d6539f160f", "sha256": "c2efeba7d8af66358f8bbbb5e38c3624ae4ee635fe9d16c94f50d1dea7d4990b" }, "downloads": -1, "filename": "errbit-1.2.1.zip", "has_sig": false, "md5_digest": "273e7bd9795aec839cbeb9d6539f160f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28032, "upload_time": "2015-03-02T09:27:16", "url": "https://files.pythonhosted.org/packages/aa/87/35d7cb33ec402bf735bc0ab60179fdb15299247700e8a24468a2b8540268/errbit-1.2.1.zip" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "77c7e754721284412a57fd268e17315f", "sha256": "408bbfabdc05c3e4cde3cc9674c4668b63943ebc5cc1998d8d694c36b10be0fd" }, "downloads": -1, "filename": "errbit-1.3.0.zip", "has_sig": false, "md5_digest": "77c7e754721284412a57fd268e17315f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32991, "upload_time": "2015-03-02T16:42:12", "url": "https://files.pythonhosted.org/packages/2b/6d/dd90427791e2c659471f985d5affd69638f402bf1ea0a9697e2eb26219ec/errbit-1.3.0.zip" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "7b7b82128f16ac030fb90a1c80b21901", "sha256": "11c28cf427df4d185fd01672e31271c3d852b9bc5a7f8da4f151ab5157bd2880" }, "downloads": -1, "filename": "errbit-1.3.1.tar.gz", "has_sig": false, "md5_digest": "7b7b82128f16ac030fb90a1c80b21901", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19865, "upload_time": "2015-08-10T12:30:50", "url": "https://files.pythonhosted.org/packages/8a/11/0d451b236ae889ccf33e6e06f4fef7dfa5299c9941e441c8a43ecb4d0ce1/errbit-1.3.1.tar.gz" } ], "1.4.0": [ { "comment_text": "", "digests": { "md5": "030db32220f042ed5cc4a8bec07b3eef", "sha256": "6bfba94bb844ce8c0192274eda04246c1db1a1dab9ed07f964d90563de35c342" }, "downloads": -1, "filename": "errbit-1.4.0.tar.gz", "has_sig": false, "md5_digest": "030db32220f042ed5cc4a8bec07b3eef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20457, "upload_time": "2016-01-10T10:00:50", "url": "https://files.pythonhosted.org/packages/4b/3f/95652ffeb434670531c14d6265a14ba32e24f06d602e8a96677c7cba1175/errbit-1.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "030db32220f042ed5cc4a8bec07b3eef", "sha256": "6bfba94bb844ce8c0192274eda04246c1db1a1dab9ed07f964d90563de35c342" }, "downloads": -1, "filename": "errbit-1.4.0.tar.gz", "has_sig": false, "md5_digest": "030db32220f042ed5cc4a8bec07b3eef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20457, "upload_time": "2016-01-10T10:00:50", "url": "https://files.pythonhosted.org/packages/4b/3f/95652ffeb434670531c14d6265a14ba32e24f06d602e8a96677c7cba1175/errbit-1.4.0.tar.gz" } ] }