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.1.tar.gz (3.1 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.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jupyter_gemini_copilot-0.1.1.tar.gz
  • Upload date:
  • Size: 3.1 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.1.tar.gz
Algorithm Hash digest
SHA256 899e638fdfbf5ae84e46a5fa3340387b79c1c1b132b015843a7e3527545266a4
MD5 32ca74dca830557fb40f9bd41d0050c4
BLAKE2b-256 8b209c29f8aef129310c9315b992ed7571c6d84f50c3aee7e9e6a87729ac2a90

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jupyter_gemini_copilot-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eb95d45ca201d3b5f36165c5ed85205b24664950e01ac510ee3cdfc2f8189d73
MD5 48a3fb7ae78c1bbf4a4b45f5527d6f84
BLAKE2b-256 40b8d6305e88f10a4d89681941bf422c2d8e4733bfe12ecb83b632f8c4791b89

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