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.7.tar.gz
(8.4 kB
view details)
Built Distribution
sentrypy-0.1.7-py3-none-any.whl
(19.3 kB
view details)
File details
Details for the file sentrypy-0.1.7.tar.gz
.
File metadata
- Download URL: sentrypy-0.1.7.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 183911637b5dfb2674b853bd50e2f4e736f0554b3663d5b86264190e9445abe1 |
|
MD5 | ea87d3e838dfe0921ec89b3c3e8241b2 |
|
BLAKE2b-256 | fda6b05535cec2c384e4ec9267260c4513e53af35b1cae843f38accb13bc1cc5 |
File details
Details for the file sentrypy-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: sentrypy-0.1.7-py3-none-any.whl
- Upload date:
- Size: 19.3 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 | 878595483035a563a8370260e345b1357c347c545f2c8f091b5568f8337bf198 |
|
MD5 | 8776ff0dcabbca77079bc30c7a9aaa96 |
|
BLAKE2b-256 | 110c9ff5168885a6ba0840144ad70ea0f47d486e927a650f7205a6acf2a06f35 |