[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-72509":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":38,"readmeContent":39,"aiSummary":40,"trendingCount":16,"starSnapshotCount":16,"syncStatus":41,"lastSyncTime":42,"discoverSource":43},72509,"code-interpreter","e2b-dev\u002Fcode-interpreter","e2b-dev","Python & JS\u002FTS SDK for running AI-generated code\u002Fcode interpreting in your AI app ","https:\u002F\u002Fe2b.dev",null,"Python",2338,216,17,14,0,1,6,28,3,66.81,"Apache License 2.0",false,"main",[26,27,28,5,29,30,31,32,33,34,35,36,37],"ai","ai-data-analysis","anthropic","cohere","gpt","javascript","jupyter","jupyter-notebook","llm","openai","python","typescript","2026-06-12 04:01:06","\u003C!-- \u003Cp align=\"center\">\n  \u003Cimg width=\"100\" src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fe2b-dev\u002FE2B\u002Frefs\u002Fheads\u002Fmain\u002Freadme-assets\u002Flogo-circle.png\" alt=\"e2b logo\">\n\u003C\u002Fp> -->\n\n![E2B Code Interpreter Preview](\u002Freadme-assets\u002Fe2b-code-interpreter-light.png#gh-light-mode-only)\n![E2B Code Interpreter Preview](\u002Freadme-assets\u002Fe2b-code-interpreter-dark.png#gh-dark-mode-only)\n\n\u003Ch4 align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fpypi.org\u002Fproject\u002Fe2b\u002F\">\n    \u003Cimg alt=\"Last 1 month downloads for the Python SDK\" loading=\"lazy\" width=\"200\" height=\"20\" decoding=\"async\" data-nimg=\"1\"\n    style=\"color:transparent;width:auto;height:100%\" src=\"https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fdm\u002Fe2b?label=PyPI%20Downloads\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fe2b\">\n    \u003Cimg alt=\"Last 1 month downloads for the JavaScript SDK\" loading=\"lazy\" width=\"200\" height=\"20\" decoding=\"async\" data-nimg=\"1\"\n    style=\"color:transparent;width:auto;height:100%\" src=\"https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fdm\u002Fe2b?label=NPM%20Downloads\">\n  \u003C\u002Fa>\n\u003C\u002Fh4>\n\n\u003C!---\n\u003Cimg width=\"100%\" src=\"\u002Freadme-assets\u002Fpreview.png\" alt=\"Cover image\">\n--->\n## What is E2B?\n[E2B](https:\u002F\u002Fwww.e2b.dev\u002F) is an open-source infrastructure that allows you to run AI-generated code in secure isolated sandboxes in the cloud. To start and control sandboxes, use our [JavaScript SDK](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@e2b\u002Fcode-interpreter) or [Python SDK](https:\u002F\u002Fpypi.org\u002Fproject\u002Fe2b_code_interpreter).\n\n## Run your first Sandbox\n\n### 1. Install SDK\n\nJavaScript \u002F TypeScript\n```\nnpm i @e2b\u002Fcode-interpreter\n```\n\nPython\n```\npip install e2b-code-interpreter\n```\n\n### 2. Get your E2B API key\n1. Sign up to E2B [here](https:\u002F\u002Fe2b.dev).\n2. Get your API key [here](https:\u002F\u002Fe2b.dev\u002Fdashboard?tab=keys).\n3. Set environment variable with your API key.\n```\nE2B_API_KEY=e2b_***\n```     \n\n### 3. Execute code with code interpreter inside Sandbox\n\nJavaScript \u002F TypeScript\n```ts\nimport { Sandbox } from '@e2b\u002Fcode-interpreter'\n\nconst sbx = await Sandbox.create()\nawait sbx.runCode('x = 1')\n\nconst execution = await sbx.runCode('x+=1; x')\nconsole.log(execution.text)  \u002F\u002F outputs 2\n```\n\nPython\n```py\nfrom e2b_code_interpreter import Sandbox\n\nwith Sandbox.create() as sandbox:\n    sandbox.run_code(\"x = 1\")\n    execution = sandbox.run_code(\"x+=1; x\")\n    print(execution.text)  # outputs 2\n```\n\n### 4. Check docs\nVisit [E2B documentation](https:\u002F\u002Fe2b.dev\u002Fdocs).\n\n### 5. E2B cookbook\nVisit our [Cookbook](https:\u002F\u002Fgithub.com\u002Fe2b-dev\u002Fe2b-cookbook\u002Ftree\u002Fmain) to get inspired by examples with different LLMs and AI frameworks.\n","e2b-dev\u002Fcode-interpreter 是一个用于在AI应用中运行AI生成代码的Python和JavaScript\u002FTypeScript SDK。其核心功能是提供了一个安全隔离的云端沙箱环境，支持多种编程语言（如Python、JavaScript等）以及主流的AI框架和模型（如GPT、Cohere等）。通过简单的API调用，开发者可以轻松地在沙箱中执行代码，并获取执行结果。此项目非常适合需要在云环境中安全地测试或运行AI生成代码的应用场景，比如开发智能助手、数据分析工具或是教育平台等。",2,"2026-06-11 03:42:21","high_star"]