{"id":20663529,"url":"https://github.com/desktop-cgi/wasm-python","last_synced_at":"2026-02-06T10:35:42.316Z","repository":{"id":178599679,"uuid":"662072172","full_name":"desktop-cgi/wasm-python","owner":"desktop-cgi","description":"wasm-python wasm files to run python scripts in nodejs environments","archived":false,"fork":false,"pushed_at":"2023-12-25T12:34:45.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-15T13:24:11.871Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/desktop-cgi.png","metadata":{"files":{"readme":"README.md","changelog":null,"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-07-04T09:45:31.000Z","updated_at":"2023-12-25T12:32:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"ec28663a-fbc6-40ad-a935-e3c6fe3a19fe","html_url":"https://github.com/desktop-cgi/wasm-python","commit_stats":null,"previous_names":["desktop-cgi/wasm-python"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/desktop-cgi/wasm-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desktop-cgi%2Fwasm-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desktop-cgi%2Fwasm-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desktop-cgi%2Fwasm-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desktop-cgi%2Fwasm-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/desktop-cgi","download_url":"https://codeload.github.com/desktop-cgi/wasm-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desktop-cgi%2Fwasm-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29158033,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T07:18:23.844Z","status":"ssl_error","status_checked_at":"2026-02-06T07:13:32.659Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2024-11-16T19:18:33.591Z","updated_at":"2026-02-06T10:35:42.293Z","avatar_url":"https://github.com/desktop-cgi.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# wasm-python\nwasm-python wasm files to run python scripts in nodejs environments\n\nUSAGE:\n\n```\n// hello_python.js\nconst { loadPyodide } = require(\"pyodide\");\nconst path = require(\"path\");\n\nasync function hello_python() {\n  let pyodide = await loadPyodide({\n    // indexURL: \"\u003cpyodide artifacts folder\u003e\",\n    indexURL: path.join(\"./node_modules/pyodide\"),\n  });\n\n  // RUN YOUR PYTHON CODE\n  return pyodide.runPythonAsync(\"1+1\");\n}\n\nhello_python().then((result) =\u003e {\n  console.log(\"Python says that 1+1 =\", result);\n});\n\n```\n\nDemos can be found here in the [demos](https://github.com/desktop-cgi/wasm-python/tree/main/demos) folder\n\nThis is a direct port of [npm package to run python using pyodide](https://www.npmjs.com/package/pyodide) ported for [desktop-cgi](https://github.com/desktop-cgi)\n\nCheck out more on different ways of using Python language interpretor inside of JS, Node.js here [https://pythondev.readthedocs.io/wasm.html](https://pythondev.readthedocs.io/wasm.html)\n\n[PYODIDE](https://pyodide.org/en/stable/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdesktop-cgi%2Fwasm-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdesktop-cgi%2Fwasm-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdesktop-cgi%2Fwasm-python/lists"}