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.4.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.4-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jupyter_gemini_copilot-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 55d4a4d781ab3cd0aa05eec67a95680c00d9fabb0cdc234e8c7e5713faba8023
MD5 0fed71da7a0305d5ae479d488b2aa736
BLAKE2b-256 3a795f308274ba782562b92062d1e84c5bfb2681323e3c60c1500d7e5b73ad47

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jupyter_gemini_copilot-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 53741eecea3cad4e70a94c3f9b4aaa5c0046d8a3590f428c73a161df879fce04
MD5 d75429d83bf4345d1e43637c63c69f79
BLAKE2b-256 2ca70ea0359b34737ee194dd534012a4ad6c7a67199af0ae8231b8c198dadf29

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