{"id":48252348,"url":"https://github.com/bugzpodder/pysandbox","last_synced_at":"2026-04-04T20:57:16.515Z","repository":{"id":194016411,"uuid":"689854504","full_name":"bugzpodder/pysandbox","owner":"bugzpodder","description":"Run Python in your web application","archived":false,"fork":false,"pushed_at":"2024-12-27T22:15:40.000Z","size":6630,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-26T08:47:27.988Z","etag":null,"topics":["pyodide","python3"],"latest_commit_sha":null,"homepage":"https://bugzpodder.github.io/pysandbox/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bugzpodder.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-11T03:38:51.000Z","updated_at":"2025-06-17T08:10:52.000Z","dependencies_parsed_at":"2023-09-11T09:06:39.424Z","dependency_job_id":"d00f2ee2-6548-4c66-a20e-3e0403209ddb","html_url":"https://github.com/bugzpodder/pysandbox","commit_stats":null,"previous_names":["bugzpodder/pysandbox"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/bugzpodder/pysandbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugzpodder%2Fpysandbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugzpodder%2Fpysandbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugzpodder%2Fpysandbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugzpodder%2Fpysandbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bugzpodder","download_url":"https://codeload.github.com/bugzpodder/pysandbox/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugzpodder%2Fpysandbox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31413478,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pyodide","python3"],"created_at":"2026-04-04T20:57:15.740Z","updated_at":"2026-04-04T20:57:16.510Z","avatar_url":"https://github.com/bugzpodder.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PySandbox: Run Python in your Web Application\n\nFor installation and usage instructions see [user docs](https://bugzpodder.github.io/pysandbox)\n\n## Introduction\n\nPySandbox is a library that helps developers create client-side Python-powered web applications. It is inspired by [PyScript](https://github.com/pyscript/pyscript) and built on top of [Pyodide](https://github.com/pyodide/pyodide) and [Polyscript](https://github.com/pyscript/polyscript).\n\nThe main features of PySandbox are:\n\n- Exports simple JS classes that can be used in any JS framework or html page.\n- Web Worker ready. If your site is cross origin isolated, Web Workers can be used to execute python code.\n- Restricted mode. Enabling this mode will disallow python scripts access to js.document.\n- Custom modules support. You can define your own modules that are accessible in the codeblock.\n- Input/Output support. You can easily pass data in and out of the python code blocks and display images and/or adding 3rd party JS integration.\n- Helper methods for formatting code, find imports and installing modules in Pyodide.\n\n## Contributing\n\nProject bootstraped with `tsup` and `esbuild`. `Node.js 18.x` is recommended for development.\n\n`/packages/pysandbox`: The core `pysandbox` package.\n\n- `yarn dev` to watch for changes and update build in `dist/`\n- `yarn test` to run `playwright` tests against `examples/`\n\n`/packages/docs`: Documentation site built via [Astro](https://astro.build/).\n\n- `yarn dev` to start an Astro development server\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugzpodder%2Fpysandbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbugzpodder%2Fpysandbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugzpodder%2Fpysandbox/lists"}