Lightweight error tracking SDK for Python applications
Project description
Sauron-Python
Lightweight error tracking SDK for Python applications.
Automatically captures exceptions and error-level logs, computes fingerprints for grouping, and sends events to your backend asynchronously.
Installation
pip install sauron-python
Quick Start
from sauron_python import sauron_sdk
sauron_sdk.init(
repository_id=1,
endpoint="https://your-sauron-backend.com/analyze",
)
Once initialized, the SDK automatically captures:
- Uncaught exceptions via
sys.excepthook - Error-level logs via
loggingintegration
No additional code changes needed.
Manual Capture
from sauron_python import capture_exception, add_breadcrumb
add_breadcrumb({"type": "http", "message": "GET /api/users"})
try:
do_something()
except Exception:
capture_exception()
Features
- Async event delivery (non-blocking)
- Automatic fingerprinting and event grouping
- Breadcrumb context tracking
- Safe by design -- SDK errors never crash your application
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sauron_python-0.3.0.tar.gz.
File metadata
- Download URL: sauron_python-0.3.0.tar.gz
- Upload date:
- Size: 22.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa2daf01fe78adc2a2b83059cf81f2d12b5226d551233c2040ac6101a00410fd
|
|
| MD5 |
54c15d5ff889d13980ed402fa86cf1ee
|
|
| BLAKE2b-256 |
03ce7a3a53b907a05177e3509c5cadb517404121cec07d97d19960536e53f699
|
File details
Details for the file sauron_python-0.3.0-py3-none-any.whl.
File metadata
- Download URL: sauron_python-0.3.0-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad038ebab4e8624464bc9341d6b30181fdc272b00f284b68cc2fcf2d8e27ee94
|
|
| MD5 |
115e8f174bea98bab746da3032142fc0
|
|
| BLAKE2b-256 |
f8dae9c56c94b5219d87aa6d0330b09054254aabd93bde7cc10d828fb74522f6
|