{ "info": { "author": "Ashin E Abraham", "author_email": "ashineabraham@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Internet :: WWW/HTTP" ], "description": "# Starlette-bugsnag\n\nBugsnag integration for Starlette ASGI framework.\n\nInstallation:\n```\npip install starlette-bugsnag\n```\n\nUsage:\n```python\nfrom starlette_bugsnag import BugsnagMiddleware\nimport bugsnag\n\nbugsnag.configure(...)\n\napp = ...\napp = BugsnagMiddleware(app)\n```\n\nHere's a more complete example using [Starlette](https://github.com/encode/starlette) and [uvicorn](https://github.com/encode/uvicorn):\n```python\n\nimport bugsnag\nimport os\nimport uvicorn\n\nfrom starlette_bugsnag import BugsnagMiddleware\nfrom starlette.applications import Starlette\nfrom starlette.responses import PlainTextResponse\n\nbugsnag.configure(api_key=os.getenv('BUGSNAG_API_KEY'), project_root=os.getcwd())\n\napp = Starlette()\napp.add_middleware(BugsnagMiddleware, debug=False)\n\n\n@app.route(\"/\")\ndef index(request):\n return PlainTextResponse(\"Hello World\")\n\n\n@app.route(\"/error\")\ndef raiser(request):\n raise ValueError(\"This Is an Error\")\n\n\nif __name__ == \"__main__\":\n uvicorn.run(app, host=\"0.0.0.0\", port=8000)\n```\n\nSee [examples](https://github.com/ashinabraham/starlette-bugsnag/tree/master/examples) for more.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ashinabraham/starlette-bugsnag", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "starlette-bugsnag", "package_url": "https://pypi.org/project/starlette-bugsnag/", "platform": "", "project_url": "https://pypi.org/project/starlette-bugsnag/", "project_urls": { "Homepage": "https://github.com/ashinabraham/starlette-bugsnag" }, "release_url": "https://pypi.org/project/starlette-bugsnag/0.2.1/", "requires_dist": [ "bugsnag", "starlette" ], "requires_python": ">=3.6", "summary": "", "version": "0.2.1" }, "last_serial": 5999328, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "40d9e5b6787a9b1dca9b924e4774f847", "sha256": "adeb20707420af82d4ccc13379f659d64c6b403d52a88a508729a88eca3ce099" }, "downloads": -1, "filename": "starlette_bugsnag-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "40d9e5b6787a9b1dca9b924e4774f847", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 5171, "upload_time": "2019-08-31T16:30:13", "url": "https://files.pythonhosted.org/packages/ba/f8/c06dc38e23578bc991b05678996d23b9c5c3a5509561215a31064d21f1a8/starlette_bugsnag-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e0416c2740fa11ef834ab07d1e701e8b", "sha256": "ab04b1cb177b533359d7d4bfdcd4ff8e694e29a500913fb0d28ed3374836dd56" }, "downloads": -1, "filename": "starlette-bugsnag-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e0416c2740fa11ef834ab07d1e701e8b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3457, "upload_time": "2019-08-31T16:30:16", "url": "https://files.pythonhosted.org/packages/16/a9/ca059c07a254f34b239fd9602572cbbadb1ffad8864ccb817b2a6ebd53ad/starlette-bugsnag-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "a857d6e7155d401ff653d0c1c33a273c", "sha256": "8689ec12a17d7a4ce4fb749cc585bb9d568786f402ef2de744c31b9713a68559" }, "downloads": -1, "filename": "starlette_bugsnag-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a857d6e7155d401ff653d0c1c33a273c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 5776, "upload_time": "2019-09-04T06:07:22", "url": "https://files.pythonhosted.org/packages/8d/e1/d80fbb5a12bf5cbf0681b1c4cde04c76d09ca8cc8657ad9f346ef6c8c180/starlette_bugsnag-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "656a41c59e4e0b30e50d4dab21174b12", "sha256": "649833b775a49af873c71ddd938c6c88b1da7bf42748c73a081339439c2828aa" }, "downloads": -1, "filename": "starlette-bugsnag-0.2.0.tar.gz", "has_sig": false, "md5_digest": "656a41c59e4e0b30e50d4dab21174b12", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4060, "upload_time": "2019-09-04T06:07:24", "url": "https://files.pythonhosted.org/packages/7b/4a/bd554845e616cd87a4cbdc78332ed5f31697a0a42c7001ca1691229430b2/starlette-bugsnag-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "d4c59d0dc55a267a92a05f7d2ab3c69f", "sha256": "be30e2cf695c051e9953ee4bdd37c2dd630574ffc0db8ebf4579ad62a029b09f" }, "downloads": -1, "filename": "starlette_bugsnag-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "d4c59d0dc55a267a92a05f7d2ab3c69f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 5659, "upload_time": "2019-10-19T09:36:20", "url": "https://files.pythonhosted.org/packages/24/21/baa213f91e92a9c40c41e5f6069907c6b09950a19d9062999632c18ab9f1/starlette_bugsnag-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "77f7f562bcb266b6fc57f481ce1fc767", "sha256": "13f653f2d065cb0804605a397dac4c2774ea76d2f2901441a9e442f341eebfbe" }, "downloads": -1, "filename": "starlette-bugsnag-0.2.1.tar.gz", "has_sig": false, "md5_digest": "77f7f562bcb266b6fc57f481ce1fc767", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3903, "upload_time": "2019-10-19T09:36:22", "url": "https://files.pythonhosted.org/packages/f2/3b/53e9e57cbba9e51c73594685f0e21ed16da6b368524732950cc0864d2464/starlette-bugsnag-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d4c59d0dc55a267a92a05f7d2ab3c69f", "sha256": "be30e2cf695c051e9953ee4bdd37c2dd630574ffc0db8ebf4579ad62a029b09f" }, "downloads": -1, "filename": "starlette_bugsnag-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "d4c59d0dc55a267a92a05f7d2ab3c69f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 5659, "upload_time": "2019-10-19T09:36:20", "url": "https://files.pythonhosted.org/packages/24/21/baa213f91e92a9c40c41e5f6069907c6b09950a19d9062999632c18ab9f1/starlette_bugsnag-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "77f7f562bcb266b6fc57f481ce1fc767", "sha256": "13f653f2d065cb0804605a397dac4c2774ea76d2f2901441a9e442f341eebfbe" }, "downloads": -1, "filename": "starlette-bugsnag-0.2.1.tar.gz", "has_sig": false, "md5_digest": "77f7f562bcb266b6fc57f481ce1fc767", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3903, "upload_time": "2019-10-19T09:36:22", "url": "https://files.pythonhosted.org/packages/f2/3b/53e9e57cbba9e51c73594685f0e21ed16da6b368524732950cc0864d2464/starlette-bugsnag-0.2.1.tar.gz" } ] }