Skip to main content

Veghe SDK for Python — minimal, dependency-free error reporting to Veghe.ro

Project description

veghe-sdk

Minimal, dependency-free error reporting for Python apps, sending to Veghe.ro error tracking. One module, stdlib only.

Install

pip install veghe-sdk

Use

import veghe_sdk

veghe_sdk.init(
    "https://<key>@i.veghe.ro/<project-id>",   # your project DSN
    release="myapp@1.4.2",                     # enables regression detection
    environment="production",
)

# Uncaught exceptions are now reported automatically. You can also:
veghe_sdk.capture_exception()                       # inside an except block
veghe_sdk.capture_message("webhook lagging", level="warning")
veghe_sdk.set_tag("region", "eu-central")
veghe_sdk.set_user({"email": "user@example.com"})

# For short-lived scripts, flush before exit:
veghe_sdk.flush()

Events are sent on background threads and failures are swallowed — monitoring never breaks the app it watches.

Get a DSN by creating an error project in your Veghe dashboard under Errors. Grouped issues, stack traces with code context, releases and regression detection, threshold alerts and JS source maps are documented in the error tracking docs.

Veghe also speaks the Sentry ingestion protocol, so official Sentry SDKs (any platform) work against the same DSN.

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

veghe_sdk-1.0.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

veghe_sdk-1.0.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file veghe_sdk-1.0.0.tar.gz.

File metadata

  • Download URL: veghe_sdk-1.0.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for veghe_sdk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 84e2874c8fe83244b522df895575651aae2475dc23e623e52ad455de30bad639
MD5 39091f2f8cca46e3eabca17d06fa66e7
BLAKE2b-256 1e84d3b99b6a9937f1db207bb3b84f7d6ad594fd78ff5ff4a6a98885efbc69e3

See more details on using hashes here.

File details

Details for the file veghe_sdk-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: veghe_sdk-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for veghe_sdk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 862f93cf3b8a1a3844c14bc4fffbc1092bc1a2e7aab62f515e62934f9bcc343d
MD5 dd8dffc67a03bc609de0f5cc97a7e2d7
BLAKE2b-256 b7d0057005495d247d6ebd16996a9b218fcadff00b84bb5524478b3d4d87b52e

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