AI-assisted error debugger with OpenRouter model fallback for Jupyter.
Project description
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
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 jupyter_ai_debugger-0.1.0.tar.gz.
File metadata
- Download URL: jupyter_ai_debugger-0.1.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0620e85a27a9ec9e22d6c59601ee691d5bef621f64b0f74c4600b4b37e8e4c45
|
|
| MD5 |
eec52561cb6098eea06662b0124a1b9d
|
|
| BLAKE2b-256 |
e5268b990d357d285bf54a81468a9744e694cd7eb6ff41e4001d36a750ad82db
|
File details
Details for the file jupyter_ai_debugger-0.1.0-py3-none-any.whl.
File metadata
- Download URL: jupyter_ai_debugger-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a769eeffb81b0f32a17b79657791897575437cb95c2184be2ad179c1abd04cf
|
|
| MD5 |
76862626efd67864922dd9beac481d40
|
|
| BLAKE2b-256 |
bbd80c7ff6c1802ee8c14609b3f3b075a894d3ef289a3184a305b2971ca44095
|