MCPcopy Index your code
hub / github.com/bigcode-project/jupytercoder

github.com/bigcode-project/jupytercoder @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
96 symbols 181 edges 9 files 1 documented · 1%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Jupyter Coder

Jupyter Coder is a jupyter plugin based on Starcoder Starcoder has its unique capacity to leverage the jupyter notebook structure to produce code under instruction. This plugin enable you to use starcoder in your notebook.

Key features

code completition

In a cell, press "ctrl + space" to trigger image

Press "ctrl" to accpet the proposition.

Bug fix

In a cell with error message, press "ctrl + `" to trigger the bug fix mode image

Press ctrl to accept

Install the chrome extension

https://chrome.google.com/webstore/detail/jupyter-coder/kbedojkmlknhepcaggkdimefcbiifkjf

Installation from github (skip if you install from chrome store)

git clone https://github.com/bigcode-project/jupytercoder.git

Open chrome://extensions/ in your browser and enable developer mode. devmode

Then click on "Load unpacked" and select the folder where you cloned this repository. unpack

Add API key

Then click on the extension icon to enable it, you will need to enter the bigcode model endpoint url https://api-inference.huggingface.co/models/bigcode/starcoderbase/ and your hf readonlys api key. Click save to activate this mode. image

Demo

cd examples
jupyter notebook

In case you encounter issue, you might want to install the same jupyter notebook version

jupyter notebook --version
>>> 6.5.2

Open the notebook sklearn_digits.ipynb and try it out. Type ctrl+space to trigger the code completion when you are in a code cell, then ctrl to accept it (welcome your thought on the key binding!).

Core symbols most depended-on inside this repo

_toConsumableArray
called by 9
src/diff.js
collectChange
called by 7
src/diff.js
selectField
called by 4
src/diff.js
_arrayLikeToArray
called by 3
src/diff.js
parsePatch
called by 3
src/diff.js
contextLines
called by 3
src/diff.js
arrayStartsWith
called by 3
src/diff.js
conflict
called by 3
src/diff.js

Shape

Function 96

Languages

TypeScript100%

Modules by API surface

src/diff.js61 symbols
src/utility.js19 symbols
src/preferences.js5 symbols
src/content.js5 symbols
src/api.js4 symbols
src/animation.js1 symbols
options/options.js1 symbols

For agents

$ claude mcp add jupytercoder \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact