Skip to main content

A lightweight 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

jupyter_gemini_copilot-0.1.3.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupyter_gemini_copilot-0.1.3-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file jupyter_gemini_copilot-0.1.3.tar.gz.

File metadata

  • Download URL: jupyter_gemini_copilot-0.1.3.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for jupyter_gemini_copilot-0.1.3.tar.gz
Algorithm Hash digest
SHA256 ba98dd2f951a538e6f8c49d1be389d37d1010d868ecb9405df457fdf1ba0fa2e
MD5 f1153f6ea904066b96e405220505aebe
BLAKE2b-256 c0c1efbb2c3a9e11fb0629fe713a87e91e1c67bdf62991578fc78ac17a8cd722

See more details on using hashes here.

File details

Details for the file jupyter_gemini_copilot-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyter_gemini_copilot-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ecfdb4c99ed1d8d24f9af007ec4faa65c1ca1bb7b6ed7dcd51a1531e363467b5
MD5 1a8235860db281b95cbf293a26a8953b
BLAKE2b-256 bb0cd244c9a987dd6564f44a684a177c75e06fe4608259fd887f40bc7594887a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page