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.2.0.tar.gz (20.2 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.2.0-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sauron_python-0.2.0.tar.gz
  • Upload date:
  • Size: 20.2 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.2.0.tar.gz
Algorithm Hash digest
SHA256 014c0c5ec02d4e2eefca2d41c0cf76403fc96f9af9f967dc2e824e019b54b526
MD5 6b012088cd2343f80767f57fa062b47c
BLAKE2b-256 ad1b46a0f8387715cc40ec999af932cbe1ebc408ed65cce06a20662de6f0c3d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sauron_python-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.9 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c3a66fd224087eb22f051f997a4e380b4397f2e0330586ffb0f8ad00817e4ca9
MD5 871cd75dfcd0a2cd2e53e5e90afafc4a
BLAKE2b-256 cd107bcca4cc74974fcea70ea7c3a0f2fa1d51fd73275a972a67f86ad5b186d2

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