{"id":13774097,"url":"https://github.com/extism/python-sdk","last_synced_at":"2026-02-21T00:05:37.099Z","repository":{"id":200592391,"uuid":"691133633","full_name":"extism/python-sdk","owner":"extism","description":"Extism Python Host SDK - easily run WebAssembly modules / plugins from Python applications","archived":false,"fork":false,"pushed_at":"2025-01-29T19:49:13.000Z","size":3285,"stargazers_count":37,"open_issues_count":3,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-12-10T11:47:40.274Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://extism.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/extism.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-09-13T15:06:28.000Z","updated_at":"2025-12-08T13:45:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"17d3fef6-bbd3-4d90-adcd-aec12cd107cd","html_url":"https://github.com/extism/python-sdk","commit_stats":null,"previous_names":["extism/python-sdk"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/extism/python-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extism%2Fpython-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extism%2Fpython-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extism%2Fpython-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extism%2Fpython-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/extism","download_url":"https://codeload.github.com/extism/python-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extism%2Fpython-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29668654,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T23:24:07.480Z","status":"ssl_error","status_checked_at":"2026-02-20T23:24:06.202Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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-08-03T17:01:23.652Z","updated_at":"2026-02-21T00:05:37.085Z","avatar_url":"https://github.com/extism.png","language":"Python","funding_links":[],"categories":["\u003ca name=\"extism\"\u003e\u003c/a\u003e[Extism](https://github.com/extism/extism) \u003csup\u003e[top⇈](#contents)\u003c/sup\u003e"],"sub_categories":[],"readme":"# Extism Python Host SDK\n\nThis repo contains the Python package for integrating with the\n[Extism](https://extism.org/) Webassembly framework. Install this library into\nyour Python application host to run Extism WebAssembly guest plug-ins.\n\n```python\nimport extism\nimport json\n\nmanifest = {\"wasm\": [{\"url\": \"https://github.com/extism/plugins/releases/latest/download/count_vowels.wasm\"}]}\nwith extism.Plugin(manifest, wasi=True) as plugin:\n    wasm_vowel_count = plugin.call(\n        \"count_vowels\",\n        \"hello world\",\n        parse = lambda output: json.loads(bytes(output).decode('utf-8'))\n    )\nprint(wasm_vowel_count) # {'count': 3, 'total': 3, 'vowels': 'aeiouAEIOU'}\n```\n\n## Installation\n\nInstall this package from [PyPI](https://pypi.org/project/extism/):\n\n```shell\n# using pip\n$ pip install extism==1.0.0\n\n# using poetry\n$ poetry add extism=^1.0.0\n```\n\nThe `extism` package should install an appropriate `extism_sys` dependency\ncontaining a prebuilt shared object for your system. We support the following\ntargets:\n\n- MacOS 11.0+, `arm64`\n- MacOS 10.7+, `x86_64`\n- Manylinux 2.17+, `aarch64`\n- Manylinux 2.17+, `x86_64`\n- MUSL Linux 1.2+, `aarch64`\n- Windows (MSVC), `x86_64`\n\nIf you need support for a different platform or architecture, please [let us know][let-us-know]!\n\n[let-us-know]: https://github.com/extism/extism/issues/new?title=Please+support+extism_sys+on+my+platform\u0026labels=python\u0026body=Hey%21+Could+you+support+%24PLATFORM+and%2For+%24ARCH%3F\n\n## Documentation\n\nCheck out the docs:\n\n- [Getting Started](https://extism.readthedocs.io/en/latest/usage.html)\n- [API docs](https://extism.readthedocs.io/en/latest/api.html)\n\n## Development\n\n### Local dev\n\nInstall [just](https://just.systems). Running `just test` should install all\nother prerequisites.\n\n### Release workflow\n\n1. Create a semver-formatted git tag (`git tag v1.0.0`).\n2. Push that tag to the repository (`git push origin v1.0.0`.)\n3. Wait for [the Build workflow to run](https://github.com/extism/python-sdk/actions/workflows/build.yaml).\n4. Once the build workflow finishes, go to the [releases](https://github.com/extism/python-sdk/releases) page. You should\n   see a draft release.\n5. Edit the draft release. Publish the release.\n6. Wait for [the Release workflow to run](https://github.com/extism/python-sdk/actions/workflows/release.yaml).\n7. Once the release workflow completes, you should be able to `pip install extism==${YOUR_TAG}` from PyPI.\n\n## LICENSE\n\n[BSD-3-Clause](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextism%2Fpython-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fextism%2Fpython-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextism%2Fpython-sdk/lists"}