UNPKG

py_sandpack

Version:

PySandpack is a React library designed to provide a sandbox environment for executing Python code directly in the browser. It is ideal for educational purposes, quick experiments, or running Python scripts without requiring a local Python installation.

73 lines 1.99 kB
{ "name": "py_sandpack", "version": "0.0.46", "repository": "https://github.com/PySandbox/PySandpack", "license": "MIT", "homepage": "https://pysandbox.github.io/dist/", "description": "PySandpack is a React library designed to provide a sandbox environment for executing Python code directly in the browser. It is ideal for educational purposes, quick experiments, or running Python scripts without requiring a local Python installation.", "keywords": [ "python", "react", "pyodide", "webassembly", "python-in-browser", "python-react", "client-side-python", "frontend-python", "browser-python", "web-python", "python-execution", "interactive-python", "react-component", "python-library", "developer-tools", "web-development" ], "type": "module", "main": "dist/index.umd.cjs", "module": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.umd.cjs" } }, "files": [ "dist" ], "dependencies": { "@codemirror/basic-setup": "^0.20.0", "@codemirror/lang-python": "^6.1.6", "@uiw/react-codemirror": "^4.23.6", "lz-string": "^1.5.0" }, "devDependencies": { "@eslint/js": "^9.15.0", "@types/node": "^22.10.1", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", "@vitejs/plugin-react": "^4.3.4", "eslint": "^9.15.0", "eslint-plugin-react-hooks": "^5.0.0", "eslint-plugin-react-refresh": "^0.4.14", "globals": "^15.12.0", "path": "^0.12.7", "pyodide": "^0.26.4", "typescript": "~5.6.2", "typescript-eslint": "^8.15.0", "vite": "^6.0.1", "vite-plugin-dts": "^4.3.0", "vite-plugin-static-copy": "^2.2.0" }, "peerDependencies": { "react": "^18.3.1", "react-dom": "^18.3.1" }, "scripts": { "dev": "vite", "build": "tsc -b && vite build", "lint": "eslint .", "preview": "vite preview" } }