ReactPy

Library for building user interfaces in Python without JavaScript — component-based and reactive, inspired by ReactJS. Supports multiple backends including Flask, FastAPI, Sanic, Tornado, Django, and Jupyter.

app-frameworksInactivenpm: react
51
Hero Score
Popularity
22
Performance
70
Ecosystem
25
Maturity
61
Dev Experience
75
⭐ 8,142 stars⬇ 3.6K downloads/wkFirst release: Mar 2023Last release: Nov 2024
Async Support: YesPlugin Extensions: GrowingSpeed: MediumDoc Quality: HighLearning Curve: Easy

Pros

  • Build dynamic, component-based UIs in pure Python without writing JavaScript
  • Works with multiple backends (Flask, FastAPI, Sanic, Tornado, Django, Jupyter, Plotly-Dash)
  • Declarative components with familiar React-like patterns and hooks

Cons

  • Ecosystem and plugin availability smaller compared to JavaScript React
  • Performance depends on WebSocket connection and backend integration
  • Not as mature or battle-tested as established frontend frameworks

Alternatives in app-frameworks

Compare Python Packages with ease.