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.1.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.1-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file sauron_python-0.3.1.tar.gz.

File metadata

  • Download URL: sauron_python-0.3.1.tar.gz
  • Upload date:
  • Size: 22.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for sauron_python-0.3.1.tar.gz
Algorithm Hash digest
SHA256 1f0df725e5817307332f997aca2493f0bf35b1cb67926238c696bf3a254f88d7
MD5 0d8c319fd86a67dc044f40443a1a082d
BLAKE2b-256 fd167f2efe61a118c9f76887865f175a8b386a7db1c7528a5161b849af54d181

See more details on using hashes here.

File details

Details for the file sauron_python-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: sauron_python-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for sauron_python-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7752199b7c9b0747ae8f38d745d94762d0e3f9cd5495a76ecb9ec234c9b157f7
MD5 4343a8c81ad6d52554618c841b537524
BLAKE2b-256 43497eace41c8a68c75220776ecf14c6b7bc21b8f37a14ed8a30374ab31aca3f

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