Local-first, AI-ready error monitoring for Python — catch bugs, get AI-powered fixes
Project description
uncaught
Local-first, AI-ready error monitoring for Python. Zero-config error capture with automatic fix prompts.
Install
pip install uncaught
Quick Start
from uncaught import init_uncaught
client = init_uncaught({
"environment": "development",
})
# Errors are automatically captured via sys.excepthook
# Or capture manually:
try:
risky_operation()
except Exception as e:
client.capture_error(e)
Framework Integrations
FastAPI
from fastapi import FastAPI
from uncaught.integrations.fastapi import UncaughtMiddleware
app = FastAPI()
app.add_middleware(UncaughtMiddleware)
Flask
from flask import Flask
from uncaught.integrations.flask import init_app
app = Flask(__name__)
init_app(app)
Django
Add to MIDDLEWARE in settings.py:
MIDDLEWARE = [
"uncaught.integrations.django.UncaughtMiddleware",
# ...
]
SQLAlchemy
from uncaught.integrations.sqlalchemy import setup_sqlalchemy
setup_sqlalchemy(engine)
How It Works
Errors are written to a local .uncaught/ directory with AI-ready fix prompts. Use the MCP server to query errors from Claude, Cursor, or any MCP-compatible AI tool.
License
MIT
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 uncaughtdev-0.1.0.tar.gz.
File metadata
- Download URL: uncaughtdev-0.1.0.tar.gz
- Upload date:
- Size: 15.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92877a06cad16403c74c46156e7479a48e936813ecdaa172a608c640d58b4c95
|
|
| MD5 |
1bf0af76328fe597c706913cd47a7998
|
|
| BLAKE2b-256 |
c004944902fc9e5749187e172008525c65eada62973066a81ff2ca124e3e79eb
|
File details
Details for the file uncaughtdev-0.1.0-py3-none-any.whl.
File metadata
- Download URL: uncaughtdev-0.1.0-py3-none-any.whl
- Upload date:
- Size: 20.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
492568296eb29bad0ad5f90d8f8328f7e473649a1428a9af00f25ec7f775a007
|
|
| MD5 |
d74abf5f98e320571e3395a4124bacb0
|
|
| BLAKE2b-256 |
e58de56eb74419f622baba09e94b83bd4a9bb3974b931343fe02f461fcca61c9
|