jupyter_ai_debugger
AI-assisted error debugger for Jupyter notebooks using OpenRouter with automatic model fallback.
Features
- Hooks into Jupyter/IPython exceptions
- Sends error + code to OpenRouter AI
- Returns explanation and corrected code
- Auto-suggests corrected code into next cell
Installation
pip install jupyter-ai-debugger
Usage
Set your API key as an environment variable:
export OPENROUTER_API_KEY="your_key_here"
Or pass it directly in Python:
from jupyter_ai_debugger import AIDebugger
AIDebugger(api_key="your_key").activate()
Now any error in Jupyter will trigger AI debugging suggestions!
License
MIT
Release files for jupyter-ai-debugger 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jupyter_ai_debugger-0.1.0.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jupyter_ai_debugger-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.5 kB
Release files / jupyter_ai_debugger-0.1.0.tar.gz
| Download URL | jupyter_ai_debugger-0.1.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0620e85a27a9ec9e22d6c59601ee691d5bef621f64b0f74c4600b4b37e8e4c45
|
|
BLAKE2b-256 checksum How to use checksums |
e5268b990d357d285bf54a81468a9744e694cd7eb6ff41e4001d36a750ad82db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.12
|
Release files / jupyter_ai_debugger-0.1.0-py3-none-any.whl
| Download URL | jupyter_ai_debugger-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1a769eeffb81b0f32a17b79657791897575437cb95c2184be2ad179c1abd04cf
|
|
BLAKE2b-256 checksum How to use checksums |
bbd80c7ff6c1802ee8c14609b3f3b075a894d3ef289a3184a305b2971ca44095
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.12
|