A mini AI code assistant running inside Jupyter notebooks using Gemini.
Project description
Jupyter Gemini Copilot 🚀🧠
A mini AI code assistant that runs directly inside your Jupyter Notebooks. It hooks into IPython's execution cycle and automatically wakes up and uses Google Gemini to suggest the correct fixed/completed code whenever you run cells with incomplete or erroneous code (like SyntaxError or NameError).
Installation
pip install jupyter-gemini-copilot
Usage
In your Jupyter Notebook, just run the following in the first cell:
import jupyter_gemini_copilot
# Enter your Gemini API key here
jupyter_gemini_copilot.setup(api_key="YOUR_GEMINI_API_KEY")
Now, whenever you accidentally write code that produces an error (e.g., missing a parenthesis or using an undefined variable), Gemini will automatically catch it and instantly print the correct, completed code directly underneath the traceback!
Project details
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_gemini_copilot-0.1.0.tar.gz.
File metadata
- Download URL: jupyter_gemini_copilot-0.1.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05b907870099bc48f9c9c73eea0a43e77147deb383a863a1da3327d944a4d092
|
|
| MD5 |
c890712ee98dfd288fa4dbbaa63f1ca5
|
|
| BLAKE2b-256 |
d02068248d44694d1eb3230d8466fb4391587461145cd5bc94bbb8b168c33198
|
File details
Details for the file jupyter_gemini_copilot-0.1.0-py3-none-any.whl.
File metadata
- Download URL: jupyter_gemini_copilot-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8805ad66536224c9d0b7419073f6391b8100616ef9160166756ff76d57ed1a4e
|
|
| MD5 |
69ef624df25c13b411ceec33920a293f
|
|
| BLAKE2b-256 |
b0420669b45a014705ae89ed680408a7d0d2e446e4929f3ff5a60fb17d04b26a
|