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!
Bonus
This is an early stage project. Your ideas are welcome!
Meet me on Twitter!
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.4.tar.gz
(4.5 kB
view details)
Built Distribution
sentrypy-0.1.4-py3-none-any.whl
(14.4 kB
view details)
File details
Details for the file sentrypy-0.1.4.tar.gz
.
File metadata
- Download URL: sentrypy-0.1.4.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d284a00846e9aafcb5e24b54e18c42f117a82a17d94dc594610b9ee669eca875 |
|
MD5 | 14c39203e809104f2f54f6c5976e9cb6 |
|
BLAKE2b-256 | 43b0171c2c44ad5ce604a9e27ada5f6de8c992333582301a4f1dfe928ce305ce |
File details
Details for the file sentrypy-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: sentrypy-0.1.4-py3-none-any.whl
- Upload date:
- Size: 14.4 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 | 80514939aca287a0e08867e676ede9b034b7aca74e5565834bfb95016b656bf0 |
|
MD5 | 0d28d8aeaa43dd041a9c1403df3d2fd9 |
|
BLAKE2b-256 | 2ac2bbbede83b13b57ba0942eb085645477c3da70f6fe2ee1ab650d100472308 |