Scrapy integration with Sentry SDK (unofficial)
Project description
# sentry-scrapy
[](https://travis-ci.org/m-vdb/sentry-scrapy)
[](https://coveralls.io/github/m-vdb/sentry-scrapy?branch=master)
[](https://pypi.python.org/pypi/sentry-scrapy)
Scrapy integration with latest Sentry SDK
## Requirements
- Python3
- [`Scrapy`](https://docs.scrapy.org/en/latest/)
- [`sentry-sdk`](https://docs.sentry.io/quickstart?platform=python)
## Installation
Install with `pip`:
```bash
$ pip install sentry-scrapy
```
And in your Scrapy settings, configure Sentry as follows:
```python
# configure the extensions
# https://doc.scrapy.org/en/latest/topics/extensions.html
EXTENSIONS = {
"sentry_scrapy.extension.SentryExtension": 10,
}
# initialize Sentry
# https://docs.sentry.io/quickstart?platform=python
import sentry_sdk
sentry_sdk.init(dsn='your dsn')
```
[](https://travis-ci.org/m-vdb/sentry-scrapy)
[](https://coveralls.io/github/m-vdb/sentry-scrapy?branch=master)
[](https://pypi.python.org/pypi/sentry-scrapy)
Scrapy integration with latest Sentry SDK
## Requirements
- Python3
- [`Scrapy`](https://docs.scrapy.org/en/latest/)
- [`sentry-sdk`](https://docs.sentry.io/quickstart?platform=python)
## Installation
Install with `pip`:
```bash
$ pip install sentry-scrapy
```
And in your Scrapy settings, configure Sentry as follows:
```python
# configure the extensions
# https://doc.scrapy.org/en/latest/topics/extensions.html
EXTENSIONS = {
"sentry_scrapy.extension.SentryExtension": 10,
}
# initialize Sentry
# https://docs.sentry.io/quickstart?platform=python
import sentry_sdk
sentry_sdk.init(dsn='your dsn')
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sentry-scrapy-0.2.tar.gz
(3.0 kB
view details)
File details
Details for the file sentry-scrapy-0.2.tar.gz.
File metadata
- Download URL: sentry-scrapy-0.2.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9669ddd2daf9ff8d76d205d70ac6538a82f2336c651791b0a215148e054b5a57
|
|
| MD5 |
6643fe5755542e16aebd92f9d4df1023
|
|
| BLAKE2b-256 |
07dfc7ec1697927c26b624895a35e061500edcba9437fce75c57a8957a8fcc0d
|