JPT - ChatGPT Code Interpreter

ChatGPT's code interpreter plugin as a chrome extension

ما هو JPT - ChatGPT Code Interpreter؟

JPT - ChatGPT Code Interpreter هو إضافة Chrome تم تطويرها بواسطة Song، والميزة الرئيسية لها هي "ChatGPT's code interpreter plugin as a chrome extension".

لقطات شاشة التمديد

screenshot
screenshot
screenshot
screenshot

تحميل ملف CRX للإضافة JPT - ChatGPT Code Interpreter

قم بتنزيل ملفات الامتداد JPT - ChatGPT Code Interpreter بتنسيق crx ، وقم بتثبيت الامتدادات يدويًا في متصفح Chrome ، أو شارك ملفات crx مع الأصدقاء لتثبيت الامتدادات بسهولة.

تعليمات استخدام التمديد

                        JPT let's you run your Python code right within ChatGPT. No need for ChatGPT Plus or any ChatGPT plugins!

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                    

معلومات أساسية عن التمديد

الاسم JPT - ChatGPT Code Interpreter JPT - ChatGPT Code Interpreter
ID hhpkcgbmfdclebniepgkgnfmpbgijoaf
عنوان URL الرسمي https://chromewebstore.google.com/detail/jpt-chatgpt-code-interpre/hhpkcgbmfdclebniepgkgnfmpbgijoaf
الوصف ChatGPT's code interpreter plugin as a chrome extension
حجم الملف 54.8 MB
عدد التثبيتات 2,000
النسخة الحالية 1.4
آخر تحديث 2023-12-04
تاريخ النشر 2023-06-21
تقييم 4.00/5 مجموع تقييمات 7
المطور Song
البريد الإلكتروني [email protected]
نوع الدفع free
اللغات المدعومة en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "JPT - ChatGPT Code Interpreter",
    "description": "ChatGPT's code interpreter plugin as a chrome extension",
    "version": "1.4",
    "manifest_version": 3,
    "icons": {
        "16": "icons\/icon-16.png",
        "32": "icons\/icon-32.png",
        "48": "icons\/icon-48.png",
        "128": "icons\/icon-128.png"
    },
    "background": {
        "service_worker": "background.js",
        "type": "module"
    },
    "content_scripts": [
        {
            "matches": [
                "https:\/\/chat.openai.com\/*"
            ],
            "js": [
                "codemirror\/codemirror.min.js",
                "codemirror\/python.min.js",
                "highlight\/highlight.min.js",
                "content.js"
            ],
            "css": [
                ".\/codemirror\/codemirror.min.css"
            ]
        }
    ],
    "content_security_policy": {
        "extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self';"
    }
}