The pythonic API wrapper for Sentry.io
Project description
Quickstart
Sentry.io is an error tracking platform that helps you monitor and resolve issues in real-time.
sentrypy is a Python wrapper for the Sentry API to:
- Retrieve error data
- Automate incident responses
- Integrate with your workflow
Installation
First create a sentry token (official tutorial).
Then install by one of the options below.
Installing from PyPI
pip install sentrypy
Installing from source
git clone git@github.com:perfect-operations/sentrypy.git
pip install -e sentrypy
Usage
from sentrypy.sentry import Sentry
# Connect to Sentry API
sentry = Sentry(token="your_secret_token")
# Retrieve a project
project = sentry.project(organization_slug="your_org", project_slug="your_project")
# Inspect the issues
for issue in project.issues():
print(issue.title)
Example output:
IndexError: list index out of range
WebDriverException: Message: unknown error: session deleted because of page crash
AttributeError: 'NoneType' object has no attribute 'startswith'
Do this and much more. Install and explore!
Documentation
Read the full documentation on ReadTheDocs.
Feature Requests & Issues
Please let me know here on GitHub!
Support
- Write me on Twitter
- Write me on LinkedIn
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sentrypy-0.1.6.tar.gz
(6.2 kB
view details)
Built Distribution
sentrypy-0.1.6-py3-none-any.whl
(17.7 kB
view details)
File details
Details for the file sentrypy-0.1.6.tar.gz
.
File metadata
- Download URL: sentrypy-0.1.6.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06fe54e3c886ce060d9ea447bde09aa540a88cb69ddf97693fba39b8c7caee0f |
|
MD5 | cd5677f64b4a5919ff68773caf87b721 |
|
BLAKE2b-256 | 3251b7ff6f3c83521ad2a6a5ec52f9916d54955428590bf1a07e0451d6e0b908 |
File details
Details for the file sentrypy-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: sentrypy-0.1.6-py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aef7af9654016c9d542a5fded7941f4e27bc4c19f9173a64295e01b61ac3890b |
|
MD5 | 2cafcfc97c35718c10ad8dada6dd52ef |
|
BLAKE2b-256 | ea05d452b5407f79e13a6e76136e680122f2aa240225507d5d4423639cc8d6fa |