ChatGPT's code interpreter plugin as a chrome extension
JPT - ChatGPT Code Interpreter Extension
JPT uses Pyodide, a WASM-based Python interpreter. This means that your code executes completely within your browser. The only people who get to see your code is you and OpenAI!
Features
- Run Python code
- Edit Python code, but does not persist
- Upload files for Python to access, including Python modules
- Download files created in Python
- Standard library, numpy, matplotlib, and some other packages supported
- See output from stdout
- See plots from matplotlib
How to use
1. To run Python code, ask ChatGPT to write a hello world program in Python. Then press the \"Run\" button. It may take a while for the first run, but subsequent runs should be faster.
2. To edit Python code, press the \"Edit\" button. Once you are done editing, press \"Edit\" again to save.
3. To upload a file, press the \"Upload\" button and select the file you want to upload. You can then access the file in the current directory in Python.
4. To download a file, first save the file within Python and remember the name you saved the file as. Press the \"Download\" button, you will be prompted to save a file. Type in the name of the file you saved earlier, including the file extension. It must match exactly or it will not download. I'm aware this is not very user-friendly and I will make a proper UI in future versions.
5. To load your own module, upload your Python file. Then load the module dynamically. You can ask ChatGPT to give you an example of how to do this.
6. To load Python packages, use micropip. For example, to import scipy, use `micropip.install(\"scipy\")`. You may also need to import micropip. More details here: https://pyodide.org/en/stable/usage/loading-packages.html
Known Issues
- Infinite loops will freeze JPT. Requires restarting the extension
- Input is not supported
Roadmap
- Interrupt execution
- Add indicator for initialization and execution
- Support input
- Export chat as Jupyter Notebook
- Reduce extension size
Source Manifest.json
Similar Extensions
Power Prompt For ChatGPT & OpenAi 2,000+ 2 ★ 875KiB
ChatGPT File Extension 2,000+ 4 ★ 3.91KiB
ChatGPT Code Downloader 2,000+ 6 ★ 50.55KiB
CodeChatGPT 2,000+ 2 ★ 31.06KiB
Upload file for ChatGPT 2,000+ 14 ★ 600KiB
RunGPT: Execute ChatGPT Code 2,000+ 16 ★ 147KiB
RenderGPT 2,000+ 1 ★ 1.31MiB
ChatGPT for Google Colab 2,000+ 9 ★ 212KiB
Superpower ChatGPT 2,000+ 1955 ★ 2.85MiB
ChatGPT Utilities by innaton.com 2,000+ 12 ★ 8.56KiB
ChatGPT File Uploader 2,000+ 104 ★ 1021KiB
Webpilot - Copilot for All, Free & Open 2,000+ 46 ★ 12.94MiB
ChatGPT AutoPrompt 2,000+ 4 ★ 29.94KiB
GPT Code Reviewer 2,000+ 1 ★ 24.95KiB
ChatGPT Code Runner 2,000+ 5 ★ 18.42KiB
ChatGPT: Prompt Mate 2,000+ 4 ★ 2.17MiB
TACQ AI | Linkedin Prospecting 2,000+ 10 ★ 120KiB
Codeium: AI Code Autocompletion on all IDEs 2,000+ 196 ★ 342KiB
Visual Python for Colab 2,000+ 7 ★ 14.84MiB
PromptStorm - ChatGPT, Gemini, Claude Prompts 2,000+ 36 ★ 34.8KiB
ChatGPT for Google Colab 2,000+ 67 ★ 183KiB
ChatGPT Diagrams 2,000+ 5 ★ 3.05MiB
GPT Booster - ChatGPT File Uploader & Chats Saver 2,000+ 22 ★ 3.63MiB
GPT Macros 2,000+ 26 ★ 2.51MiB
User reviews
numesimai scurt (ID: 000000a67a1d038c) Voted 5 ★ - Updated 02/11/2024
Rex Ion (ID: 0000007faa66374f) Voted 5 ★ - Updated 08/05/2023
Hanzi Jiang (ID: 00000011c6698ec4) Voted 5 ★ - Updated 07/22/2023
Haseeb Mir (ID: 0000007668cd3a5d) Voted 3 ★ - Updated 07/14/2023
Süleyman Bozkurt (ID: 0000001452e10771) Voted 5 ★ - Updated 07/07/2023