# pyscript/pyscript

An open source platform for Python in the browser. https://pyscript.net Docs: https://docs.pyscript.net/ Try it: https://pyscript.com/ Community: https://discord.gg/HxvBtukrg2

Repository: https://github.com/pyscript/pyscript
Canonical: https://ross.abutalabs.com/products/pyscript
Homepage: https://pyscript.net/
Language: Python
License: Apache-2.0
License Family: permissive
Topics: python, html, javascript, wasm
Last push: 2026-08-21T17:18:22+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 95, longevity 100
- inputs: {"age_days": 1654, "days_push": 12, "days_rel": 35, "gap_med": 15, "n_releases_24m": 28}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 18692, forks 1473 (observed 2026-08-28T04:11:27.019733+00:00)

## What it is
PyScript is an open source platform for running Python directly in the browser, built on Pyodide (CPython), MicroPython, and WebAssembly. It lets developers embed Python code in HTML pages via script tags, creating rich client-side applications that run anywhere a browser runs.

## Use cases
- run python in the browser without a server
- embed python code in html pages
- build client-side web apps in python
- share python apps as a simple url
- run python on mobile and tablet via browser
- teach python with zero installation

## When to choose
- you want serverless python web apps that run entirely client-side
- you need python to run on any device with a browser
- you want to mix python with html and javascript in one page
- you want zero-install python for education or demos

## When to avoid
- you need a maintained project - PyScript has entered maintenance mode
- you need heavy server-side python frameworks like Django or Flask
- you need native performance or access to native OS APIs
- your app requires large python dependencies not supported by Pyodide

## Facets
- artifact type: framework
- maturity: maintenance
- function: wasm, interpreter, frontend-framework, developer-tools
- domain: web-development, frontend, programming-languages, cross-platform
- platform: browser, wasm, cross-platform
- tags: pyodide, micropython, python-in-browser, html-embedding, client-side-python, web-server

## Member repositories
- pyscript/pyscript (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:27.019733+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:01:20.178828+00:00, confidence not recorded.
  - readme: https://github.com/pyscript/pyscript (fetched 2026-08-28T04:11:27.019733+00:00, sha cb88aea12bba)
  - homepage: https://pyscript.net/ (fetched 2026-08-29T07:59:21.882178+00:00, sha a5dcbf3097bf)
  - site_page: https://pyscript.net/releases/2026.7.3 (fetched 2026-08-29T07:59:21.891228+00:00, sha bb3c2e2962cd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
