DebugBundle SDK for Python
Project description
debugbundle-python
DebugBundle SDK for Python.
Installation
pip install debugbundle-python
Quick Start
import debugbundle
debugbundle.init(project_token="dbundle_proj_test", service="checkout-api")
debugbundle.capture_exception(RuntimeError("boom"))
debugbundle.flush()
Status
This repository currently contains the full Phase 18 Python SDK scope in eleven implementation slices: core SDK surface, buffering, redaction, duplicate suppression, probe buffering, vanilla runtime hooks, framework integrations for Django, Flask, and FastAPI, remote config polling and capture-policy enforcement, optional structlog and loguru auto-detection when capture_logging() is enabled, contract-aligned EventEnvelope emission for log, request, exception, suppression, and probe payloads, explicit public wrapper signatures and a validated buildable typed package artifact, real HTTP integration coverage against a lightweight mock ingestion server, vendored machine-readable schema validation for all event types the Python SDK currently emits, a standalone CI workflow that validates Ruff, mypy, pytest, and package builds for the Python 3.10+ support floor actually used by the package, an enforced per-file coverage gate that keeps every shipped Python SDK module at or above the required 80% minimum, and request-local framework correlation binding so X-DebugBundle-Trace-Id flows through Django, Flask, and FastAPI into the emitted event correlation metadata for cross-context linking.
Docs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file debugbundle_python-0.1.1.tar.gz.
File metadata
- Download URL: debugbundle_python-0.1.1.tar.gz
- Upload date:
- Size: 35.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1513a9b74773cad46cc183a7dea31b5076a8396f7a4dbf4b8ee8c2018d0c3e8
|
|
| MD5 |
aea1622bac2876d3737d6cd4b7733488
|
|
| BLAKE2b-256 |
0ca3c4a3ffdf0cc504949361779b00b285b495671b72d6f15357f8ce18a7b708
|
File details
Details for the file debugbundle_python-0.1.1-py3-none-any.whl.
File metadata
- Download URL: debugbundle_python-0.1.1-py3-none-any.whl
- Upload date:
- Size: 27.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9443934996a9553715916d9b044a71477017baef583355710bf43cba89141dc2
|
|
| MD5 |
ca4069aa44fb9b77d8c4b796035b6b5b
|
|
| BLAKE2b-256 |
2fbee283cc0536b37fd297e58dac257a93074e80fab58bc6f37a9acc207514c4
|