Skip to main content

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 logging integration

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

sauron_python-0.3.0.tar.gz (22.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sauron_python-0.3.0-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

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

Hashes for sauron_python-0.3.0.tar.gz
Algorithm Hash digest
SHA256 fa2daf01fe78adc2a2b83059cf81f2d12b5226d551233c2040ac6101a00410fd
MD5 54c15d5ff889d13980ed402fa86cf1ee
BLAKE2b-256 03ce7a3a53b907a05177e3509c5cadb517404121cec07d97d19960536e53f699

See more details on using hashes here.

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

Hashes for sauron_python-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad038ebab4e8624464bc9341d6b30181fdc272b00f284b68cc2fcf2d8e27ee94
MD5 115e8f174bea98bab746da3032142fc0
BLAKE2b-256 f8dae9c56c94b5219d87aa6d0330b09054254aabd93bde7cc10d828fb74522f6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page