# pywebio/PyWebIO

Write interactive web app in script way.

Repository: https://github.com/pywebio/PyWebIO
Canonical: https://ross.abutalabs.com/products/pywebio
Homepage: https://pywebio.readthedocs.io
Language: Python
License: MIT
License Family: permissive
Topics: pywebio
Last push: 2025-04-08T13:35:34+00:00

## Health v2 (maintenance only)
Score: 39/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 15, release rhythm 35, longevity 100
- inputs: {"age_days": 2377, "days_push": 512, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4820, forks 384 (observed 2026-08-28T04:09:00.513626+00:00)

## What it is
PyWebIO is a Python framework that lets you build interactive web applications using imperative, script-style input and output functions, turning the browser into a rich text terminal. It requires no HTML or JavaScript knowledge and can integrate with existing web frameworks like Flask, Django, Tornado, aiohttp, and FastAPI.

## Use cases
- build a simple web app from a python script
- create browser-based gui without html and javascript
- quickly turn a cli script into an interactive web form
- collect user input in the browser from python
- embed interactive input/output into an existing flask or django app
- display plotly or bokeh charts in a simple web page
- build a data entry tool for non-developers

## When to choose
- you want a simple interactive web app without learning frontend development
- you have existing python scripts that would benefit from a browser-based ui
- you need quick internal tools or demos with minimal ui complexity
- you want to integrate interactive input/output into an existing python web service

## When to avoid
- you need a complex, highly customized user interface
- you are building a large-scale production web application with rich frontend requirements
- you need fine-grained control over styling, routing, or client-side behavior
- your project requires a modern spa architecture with react or vue

## Facets
- artifact type: framework
- maturity: active
- function: web-framework, gui, form-handling, data-visualization, http-server
- domain: web-development, frontend, developer-tools, data-visualization
- platform: python, cross-platform
- tags: browser-as-terminal, script-to-web-app, no-html-js, flask-integration, django-integration, fastapi-integration, asyncio, web-server

## Member repositories
- pywebio/PyWebIO (main) score 39

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:00.513626+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-29T18:18:32.573775+00:00, confidence not recorded.
  - readme: https://github.com/pywebio/PyWebIO (fetched 2026-08-28T04:09:00.513626+00:00, sha 1741604c242b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
