Skip to main content

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

jupyter_gemini_copilot-0.1.0.tar.gz (3.0 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.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

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

Hashes for jupyter_gemini_copilot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 05b907870099bc48f9c9c73eea0a43e77147deb383a863a1da3327d944a4d092
MD5 c890712ee98dfd288fa4dbbaa63f1ca5
BLAKE2b-256 d02068248d44694d1eb3230d8466fb4391587461145cd5bc94bbb8b168c33198

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jupyter_gemini_copilot-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8805ad66536224c9d0b7419073f6391b8100616ef9160166756ff76d57ed1a4e
MD5 69ef624df25c13b411ceec33920a293f
BLAKE2b-256 b0420669b45a014705ae89ed680408a7d0d2e446e4929f3ff5a60fb17d04b26a

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