Skip to main content

Auto-capture runtime errors and send diagnostics to DebugAssist API

Project description

DebugAssist Python SDK

Auto-capture runtime errors and send diagnostics to DebugAssist.

Install

pip install debug-assist

Usage

# Auto mode — set env var and import
import os
os.environ['DEBUG_ASSIST_API_KEY'] = 'your-api-key'
import debug_assist  # unhandled exceptions are captured automatically

# Explicit mode
from debug_assist import DebugAssist
DebugAssist.init(api_key='your-api-key', project_name='my-app')

# Manual report
client = DebugAssist(api_key='your-api-key')
client.report(tipo='silent_backend_error', mensagem='something went wrong')

Environment Variables

Variable Description Default
DEBUG_ASSIST_API_KEY Your API key
DEBUG_ASSIST_PROJECT Project name shown in diagnostics unknown
DEBUG_ASSIST_BASE_URL API base URL https://debug-assist.onrender.com
DEBUG_ASSIST_ENABLED Set to 0 to disable 1

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

debug_assist-1.0.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

debug_assist-1.0.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: debug_assist-1.0.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for debug_assist-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1676af741a7bfd0dfa7a01d995df722d8c0d713a5c736426c59066c1ae4cdbaa
MD5 ea5427e681aba46c4684eb7664595c20
BLAKE2b-256 42128b07f95c31af13b479c4abcf1d380c6a390de34ebffd606ea225c69bad15

See more details on using hashes here.

File details

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

File metadata

  • Download URL: debug_assist-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for debug_assist-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 17ea5186e48916cff0a669e0b0507ccea6cb7f55adc48cce31c318950c536fba
MD5 8d6afae28bd88ac27a4a78c61d335d4a
BLAKE2b-256 94d8062e5acffd710668ac3ed8ad0666858336aa0eefbc8da71c01522b6df158

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