# Kuyruk-Sentry
Sends exceptions in Kuyruk workers to Sentry.
## Install
$ pip install kuyruk-sentry
## Usage
```python
from kuyruk import Kuyruk, Config
from kuyruk_sentry import Sentry
import sentry_sdk
sentry_sdk.init(dsn="...") # configure Sentry
config = Config()
kuyruk = Kuyruk(config)
s = Sentry(kuyruk)
@kuyruk.task
def oops():
1/0 # exception will be sent to Sentry
```
Raw data
{
"_id": null,
"home_page": "https://github.com/cenkalti/kuyruk-sentry",
"name": "Kuyruk-Sentry",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "kuyruk sentry",
"author": "Cenk Alt\u0131",
"author_email": "cenkalti@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/5d/8a/e2db31cffc1cab5f71fd1a27ff98934166312fcaba4d5979ed5838d78557/Kuyruk-Sentry-1.1.5.tar.gz",
"platform": null,
"description": "# Kuyruk-Sentry\n\nSends exceptions in Kuyruk workers to Sentry.\n\n## Install\n\n $ pip install kuyruk-sentry\n\n## Usage\n\n```python\nfrom kuyruk import Kuyruk, Config\nfrom kuyruk_sentry import Sentry\nimport sentry_sdk\n\nsentry_sdk.init(dsn=\"...\") # configure Sentry\n\nconfig = Config()\nkuyruk = Kuyruk(config)\n\ns = Sentry(kuyruk)\n\n@kuyruk.task\ndef oops():\n 1/0 # exception will be sent to Sentry\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "Sends exceptions in Kuyruk workers to Sentry.",
"version": "1.1.5",
"project_urls": {
"Homepage": "https://github.com/cenkalti/kuyruk-sentry"
},
"split_keywords": [
"kuyruk",
"sentry"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d440f09d2555673779e8b824e1408f9f8845943ef40d609619225833d393103d",
"md5": "dacc584ce3bdf50fc791bcfed995966d",
"sha256": "f8381d1b19ec751b8681fd5c624a70af13a9284029163b8df201bf57f892c0ac"
},
"downloads": -1,
"filename": "Kuyruk_Sentry-1.1.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "dacc584ce3bdf50fc791bcfed995966d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3231,
"upload_time": "2024-06-28T05:13:15",
"upload_time_iso_8601": "2024-06-28T05:13:15.753102Z",
"url": "https://files.pythonhosted.org/packages/d4/40/f09d2555673779e8b824e1408f9f8845943ef40d609619225833d393103d/Kuyruk_Sentry-1.1.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5d8ae2db31cffc1cab5f71fd1a27ff98934166312fcaba4d5979ed5838d78557",
"md5": "594065d93f97ac311d4ae2e0d08d1f90",
"sha256": "9fb40ac0fdf8454d31520cecd3e5fee0399aa69b6a12d639f4e102aeb71c4edd"
},
"downloads": -1,
"filename": "Kuyruk-Sentry-1.1.5.tar.gz",
"has_sig": false,
"md5_digest": "594065d93f97ac311d4ae2e0d08d1f90",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2816,
"upload_time": "2024-06-28T05:13:17",
"upload_time_iso_8601": "2024-06-28T05:13:17.237152Z",
"url": "https://files.pythonhosted.org/packages/5d/8a/e2db31cffc1cab5f71fd1a27ff98934166312fcaba4d5979ed5838d78557/Kuyruk-Sentry-1.1.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-28 05:13:17",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "cenkalti",
"github_project": "kuyruk-sentry",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "kuyruk-sentry"
}