{ "info": { "author": "Paul Hallett", "author_email": "paulandrewhallett@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "\ud83c\udf10\u26a0\ufe0f graphene-django-sentry\n-------\n\n*Capture Sentry exceptions in Graphene views*\n\nWhen using `Graphene Django`_, you sometimes want to raise exceptions and capture them in the API.\n\nHowever, Graphene Django eats the raised exceptions and you won't see it in Sentry! \ud83d\ude2d\n\nThis package thinly wraps the normal GraphQLView with a handler that deals with Sentry errors properly.\n\nSo the results:\n\n1. Sentry will show the true exceptions.\n2. Graphene will continue to work like normal.\n\nWorks with:\n\n* Python 3.6+\n* Django 2.1+\n* graphene-django 2.2+\n\n\n.. image:: https://img.shields.io/pypi/v/graphene_django_sentry.svg\n :target: https://pypi.org/project/graphene_django_sentry/\n\n.. image:: https://img.shields.io/pypi/pyversions/graphene_django_sentry.svg\n :target: https://pypi.org/project/graphene_django_sentry/\n\n.. image:: https://img.shields.io/pypi/l/graphene_django_sentry.svg\n :target: https://pypi.org/project/graphene_django_sentry/\n\n.. image:: https://img.shields.io/pypi/status/graphene_django_sentry.svg\n :target: https://pypi.org/project/graphene_django_sentry/\n\n.. image:: https://circleci.com/gh/phalt/graphene_django_sentry/tree/master.svg?style=svg\n :target: https://circleci.com/gh/phalt/graphene_django_sentry/tree/master\n\nInstalling the project is easy:\n\n.. code-block:: bash\n\n pip install graphene-django-sentry\n\nFull blown example:\n\n.. code-block:: python\n\n # urls.py\n\n from .schema import schema\n from graphene_django_sentry.views import SentryGraphQLView\n\n urlpatterns = [\n url(\n r'^graphql',\n csrf_exempt(SentryGraphQLView.as_view(schema=schema)),\n name='graphql',\n ),\n ]\n\n\ud83d\udcd6 What can I do?\n--------\n\n- Capture Sentry exceptions properly when they are `raise`-d in Graphene views.\n\n\ud83c\udfd7 Status\n----------\n\ngraphene-django-sentry is currently stable and suitable for use.\n\n\ud83c\udfa5 Credits\n-----------\n\nThis package was created with Cookiecutter_.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _Graphene Django: https://github.com/graphql-python/graphene-django\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/phalt/graphene-django-sentry", "keywords": "GraphQL graphene django sentry", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "graphene-django-sentry", "package_url": "https://pypi.org/project/graphene-django-sentry/", "platform": "", "project_url": "https://pypi.org/project/graphene-django-sentry/", "project_urls": { "Homepage": "https://github.com/phalt/graphene-django-sentry" }, "release_url": "https://pypi.org/project/graphene-django-sentry/0.2.0/", "requires_dist": [ "graphene-django (==2.2.0)", "sentry-sdk (==0.5.2)" ], "requires_python": "", "summary": "Capture Sentry exceptions in Graphene views", "version": "0.2.0" }, "last_serial": 4625649, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "db37298f7c8d4ae38894843c215c6e82", "sha256": "a57bafebf0c09067965abbbd094be3c4249fa8f4a9c97f3b37a44669bfd9f307" }, "downloads": -1, "filename": "graphene_django_sentry-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "db37298f7c8d4ae38894843c215c6e82", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4731, "upload_time": "2018-12-21T16:20:14", "url": "https://files.pythonhosted.org/packages/5a/b3/f4d8058947bdee17f0ccf553318fe8a3c9695adbf8a3ecec6af2e2946fb3/graphene_django_sentry-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a5be674b2f6e6b72729f351737e613c2", "sha256": "61c3958710073ba126726abfb663e78646aabd86a188156e0ecdfcdee4c134ef" }, "downloads": -1, "filename": "graphene-django-sentry-0.2.0.tar.gz", "has_sig": false, "md5_digest": "a5be674b2f6e6b72729f351737e613c2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3067, "upload_time": "2018-12-21T16:20:17", "url": "https://files.pythonhosted.org/packages/92/2b/03e26e6f401c07163416f409252fdc3d324ef17b511154124a7811f2bef0/graphene-django-sentry-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "db37298f7c8d4ae38894843c215c6e82", "sha256": "a57bafebf0c09067965abbbd094be3c4249fa8f4a9c97f3b37a44669bfd9f307" }, "downloads": -1, "filename": "graphene_django_sentry-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "db37298f7c8d4ae38894843c215c6e82", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4731, "upload_time": "2018-12-21T16:20:14", "url": "https://files.pythonhosted.org/packages/5a/b3/f4d8058947bdee17f0ccf553318fe8a3c9695adbf8a3ecec6af2e2946fb3/graphene_django_sentry-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a5be674b2f6e6b72729f351737e613c2", "sha256": "61c3958710073ba126726abfb663e78646aabd86a188156e0ecdfcdee4c134ef" }, "downloads": -1, "filename": "graphene-django-sentry-0.2.0.tar.gz", "has_sig": false, "md5_digest": "a5be674b2f6e6b72729f351737e613c2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3067, "upload_time": "2018-12-21T16:20:17", "url": "https://files.pythonhosted.org/packages/92/2b/03e26e6f401c07163416f409252fdc3d324ef17b511154124a7811f2bef0/graphene-django-sentry-0.2.0.tar.gz" } ] }