dttb is a lightweight Python package that adds timestamps to exception tracebacks with a single line of code:
importdttbdttb.apply()
Before:
Traceback (most recent call last):
...
ZeroDivisionError: division by zero
After:
[2026-01-28 14:30:15.123456+08:00]
Traceback (most recent call last):
...
ZeroDivisionError: division by zero
Patches both sys.excepthook and threading.excepthook
Supports timezone configuration
Supports custom callbacks
Available on PyPI: pip install dttb
Why Debugging Tools?
When debugging long-running processes, services, or multi-threaded apps, knowing when an exception occurred is essential for correlating with logs. dttb fills this gap without requiring any logging framework changes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/vinta/awesome-python/pull/2959
**Author:** [@rocky-d](https://github.com/rocky-d)
**Created:** 3/12/2026
**Status:** ❌ Closed
**Base:** `master` ← **Head:** `add-dttb`
---
### 📝 Commits (1)
- [`dc02597`](https://github.com/vinta/awesome-python/commit/dc02597330bc9574a9d825e09e8675edf35a29b7) Add dttb to Debugging Tools
### 📊 Changes
**1 file changed** (+1 additions, -0 deletions)
<details>
<summary>View changed files</summary>
📝 `README.md` (+1 -0)
</details>
### 📄 Description
## What is dttb?
[dttb](https://github.com/rocky-d/dttb) is a lightweight Python package that adds timestamps to exception tracebacks with a single line of code:
```python
import dttb
dttb.apply()
```
**Before:**
```
Traceback (most recent call last):
...
ZeroDivisionError: division by zero
```
**After:**
```
[2026-01-28 14:30:15.123456+08:00]
Traceback (most recent call last):
...
ZeroDivisionError: division by zero
```
- Patches both `sys.excepthook` and `threading.excepthook`
- Supports timezone configuration
- Supports custom callbacks
- Available on PyPI: `pip install dttb`
## Why Debugging Tools?
When debugging long-running processes, services, or multi-threaded apps, knowing *when* an exception occurred is essential for correlating with logs. dttb fills this gap without requiring any logging framework changes.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/vinta/awesome-python/pull/2959
Author: @rocky-d
Created: 3/12/2026
Status: ❌ Closed
Base:
master← Head:add-dttb📝 Commits (1)
dc02597Add dttb to Debugging Tools📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
README.md(+1 -0)📄 Description
What is dttb?
dttb is a lightweight Python package that adds timestamps to exception tracebacks with a single line of code:
Before:
After:
sys.excepthookandthreading.excepthookpip install dttbWhy Debugging Tools?
When debugging long-running processes, services, or multi-threaded apps, knowing when an exception occurred is essential for correlating with logs. dttb fills this gap without requiring any logging framework changes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.