# reactive-python/reactpy

It's React, but in Python

Repository: https://github.com/reactive-python/reactpy
Canonical: https://ross.abutalabs.com/products/reactpy
Homepage: https://reactpy.dev
Language: Python
License: MIT
License Family: permissive
Topics: python, react, javascript, reactpy
Last push: 2026-07-14T02:06:48+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 92, release rhythm 92, longevity 100
- inputs: {"age_days": 2752, "days_push": 51, "days_rel": 57, "gap_med": 5.5, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8150, forks 331 (observed 2026-08-28T04:10:13.887523+00:00)

## What it is
ReactPy is a Python library for building reactive user interfaces in pure Python without writing JavaScript, using a component model that mirrors ReactJS. It supports multiple backends including Flask, FastAPI, Sanic, Tornado, Django, and Jupyter.

## Use cases
- build web UIs in Python without JavaScript
- create React-style components in Python
- add interactive frontends to Flask or FastAPI apps
- build reactive dashboards in Jupyter notebooks
- prototype web interfaces without web development experience
- render data-driven lists and views in Python

## When to choose
- you know Python but not JavaScript and need an interactive UI
- you want React-like component patterns (hooks, state, events) in Python
- you want to embed reactive UIs into existing Python web servers or notebooks

## When to avoid
- you need a mature, production-proven frontend ecosystem with large community support
- you need fine-grained control over client-side JavaScript or SSR performance
- your team already has strong JavaScript/React expertise

## Facets
- artifact type: library
- maturity: active
- function: frontend-framework, web-framework, ui-components, state-management, templating
- domain: web-development, frontend
- platform: python, cross-platform
- tags: react-in-python, reactive-ui, no-javascript, components, hooks, jupyter, flask, fastapi, django, python, web-server

## Member repositories
- reactive-python/reactpy (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:13.887523+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:29:46.469025+00:00, confidence not recorded.
  - readme: https://github.com/reactive-python/reactpy (fetched 2026-08-28T04:10:13.887523+00:00, sha 5e1016a89b7a)
  - homepage: https://reactpy.dev (fetched 2026-08-29T08:28:41.841707+00:00, sha 4a5977378f77)
  - site_page: https://reactpy.dev/docs/guides/creating-interfaces/your-first-components/index.html (fetched 2026-08-29T08:28:41.859853+00:00, sha 079e15a8edd5)
  - site_page: https://reactpy.dev/docs/guides/creating-interfaces/rendering-data/index.html (fetched 2026-08-29T08:28:41.861502+00:00, sha 34cac6c4435c)
  - site_page: https://reactpy.dev/docs/guides/adding-interactivity/index.html (fetched 2026-08-29T08:28:41.863285+00:00, sha 10fcdd135b53)
  - site_page: https://reactpy.dev/docs/guides/getting-started/index.html (fetched 2026-08-29T08:28:41.851310+00:00, sha a2b911eea407)
  - site_page: https://reactpy.dev/docs/guides/getting-started/installing-reactpy.html (fetched 2026-08-29T08:28:41.853254+00:00, sha 704a7aa75136)
  - site_page: https://reactpy.dev/docs/guides/getting-started/running-reactpy.html (fetched 2026-08-29T08:28:41.855009+00:00, sha d72859d4133f)
  - site_page: https://reactpy.dev/docs/guides/creating-interfaces/index.html (fetched 2026-08-29T08:28:41.856784+00:00, sha c407c6b7146e)
  - site_page: https://reactpy.dev/docs/guides/creating-interfaces/html-with-reactpy/index.html (fetched 2026-08-29T08:28:41.858378+00:00, sha a62117dce477)
- Data as of 2026-08-30T08:39:29.467469+00:00.
