{"id":20821843,"url":"https://github.com/aidanaden/solid-py","last_synced_at":"2025-03-12T06:26:23.259Z","repository":{"id":217580819,"uuid":"744276234","full_name":"aidanaden/solid-py","owner":"aidanaden","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-18T20:30:57.000Z","size":373,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-20T16:03:15.536Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aidanaden.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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":"2024-01-17T00:50:43.000Z","updated_at":"2024-01-17T00:50:58.000Z","dependencies_parsed_at":"2025-01-18T16:45:38.887Z","dependency_job_id":"dea728cc-55dc-41d4-b5ae-f073d9265311","html_url":"https://github.com/aidanaden/solid-py","commit_stats":null,"previous_names":["aidanaden/solid-py"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidanaden%2Fsolid-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidanaden%2Fsolid-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidanaden%2Fsolid-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidanaden%2Fsolid-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aidanaden","download_url":"https://codeload.github.com/aidanaden/solid-py/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243168141,"owners_count":20247261,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-17T22:13:15.008Z","updated_at":"2025-03-12T06:26:23.240Z","avatar_url":"https://github.com/aidanaden.png","language":"TypeScript","readme":"\u003cp\u003e\n  \u003cimg width=\"100%\" src=\"https://assets.solidjs.com/banner?type=solid-py\u0026background=tiles\u0026project=%20\" alt=\"solid-py\"\u003e\n\u003c/p\u003e\n\n# solid-py\n\n\u003e\n\n[![size](https://img.shields.io/bundlephobia/minzip/solid-py?style=for-the-badge)](https://bundlephobia.com/package/solid-py)\n[![size](https://img.shields.io/npm/v/solid-py?style=for-the-badge)](https://www.npmjs.com/package/solid-py)\n![npm](https://img.shields.io/npm/dw/solid-py?style=for-the-badge)\n[![pnpm](https://img.shields.io/badge/maintained%20with-pnpm-cc00ff.svg?style=for-the-badge\u0026logo=pnpm)](https://pnpm.io/)\n\n[download-image]: https://img.shields.io/npm/dm/solid-py.svg\n[download-url]: https://npmjs.org/package/solid-py\n\n[![solid-py](https://nodei.co/npm/solid-py.png)](https://npmjs.org/package/solid-py)\n\n\u003cp align=\"center\"\u003e\n  Effortlessly run Python code in your Solid apps. \u003ca href=\"https://elilambnz.github.io/react-py\"\u003eTry it out!\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n\u003e ✨ \u003ca href=\"https://pyrepl.io\"\u003ePyRepl.io\u003c/a\u003e is a Python interpreter in your browser. Embed interactive Python examples in your documentation, blog posts, presentations and more. \u003ca href=\"https://pyrepl.io\"\u003eGet started for free.\u003c/a\u003e\n\n## Quickstart\n\nInstall `solid-py` with:\n\n```bash\nnpm i solid-highlight-words\n# or\nyarn add solid-highlight-words\n# or\npnpm add solid-highlight-words\n```\n\nThen, wrap your app in a `PythonProvider` component.\n\n```tsx\nimport { PythonProvider } from \"solid-py\";\n\nfunction App() {\n  return (\n    // Add the provider to your app\n    \u003cPythonProvider\u003e\n      \u003cCodeblock /\u003e\n    \u003c/PythonProvider\u003e\n  );\n}\n\nrender(\u003cApp /\u003e, document.getElementById(\"root\"));\n```\n\nUsing the `usePython` hook, you can run code and access both stdout and stderr. For full usage instructions and framework specific guides, see the [usage docs](https://elilambnz.github.io/react-py/docs/introduction/usage).\n\n## Documentation\n\nFor full documentation, visit [elilambnz.github.io/react-py](https://elilambnz.github.io/react-py).\n\n## Examples\n\n[Basic Example](https://elilambnz.github.io/react-py/docs/examples/basic-example)\n\n[REPL](https://elilambnz.github.io/react-py/docs/examples/repl)\n\n[Interrupting Execution](https://elilambnz.github.io/react-py/docs/examples/interrupting-execution)\n\n[Using Packages](https://elilambnz.github.io/react-py/docs/examples/using-packages)\n\n[File System](https://elilambnz.github.io/react-py/docs/examples/file-system)\n\n[Custom Modules](https://elilambnz.github.io/react-py/docs/examples/custom-modules)\n\n[Making API Calls](https://elilambnz.github.io/react-py/docs/examples/making-api-calls)\n\n[User Input](https://elilambnz.github.io/react-py/docs/examples/user-input)\n\n[Data Visualisation](https://elilambnz.github.io/react-py/docs/examples/data-visualisation)\n\n## Limitations\n\nMost of the Python standard library is functional, except from some modules. The following modules can be imported, but are not functional due to the limitations of the WebAssembly VM:\n\n- multiprocessing\n- threading\n- sockets\n\n[Learn more about the limitations here](https://pyodide.org/en/stable/usage/wasm-constraints.html).\n\n## License\n\n_solid-py_ is available under the MIT License.\n\n## Contact\n\nRyan Aidan - [aidanaden](https://github.com/aidanaden)\n\n## Acknowledgments\n\nThis project uses [Pyodide](https://pyodide.org), a Python distribution for the browser and Node.js based on WebAssembly.\n\n## Contributing\n\nIf you're interested in contributing, please read our [contributing docs](https://github.com/elilambnz/python-py/blob/master/CONTRIBUTING.md) **before submitting a pull request**.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faidanaden%2Fsolid-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faidanaden%2Fsolid-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faidanaden%2Fsolid-py/lists"}