Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

reactpy

> 前端框架
Open source

It's React, but in Python

8.1K stars0 likes2 views
WebsiteGitHub

About

It's React, but in Python

ReactPy

</a>
<a href="https://pypi.org/project/reactpy/">
    
</a>
<a href="https://github.com/reactive-python/reactpy/blob/main/LICENSE">
    
</a>
<a href="https://reactpy.dev/">
    
</a>
<a href="https://discord.gg/uNb5P4hA9X">
    
</a>

ReactPy is a library for building user interfaces in Python without Javascript. ReactPy interfaces are made from components that look and behave similar to those found in ReactJS. Designed with simplicity in mind, ReactPy can be used by those without web development experience while also being powerful enough to grow with your ambitions.

Supported Backends
Built-in External
Flask, FastAPI, Sanic, Tornado Django, Jupyter, Plotly-Dash

At a Glance

To get a rough idea of how to write apps in ReactPy, take a look at this tiny Hello World application.

python
from reactpy import component, html, run

@component
def hello_world():
    return html.h1("Hello, World!")

run(hello_world)

Resources

Follow the links below to find out more about this project.

  • Try ReactPy (Jupyter Notebook)
  • Documentation
  • GitHub Discussions
  • Discord
  • Contributor Guide
  • Code of Conduct

Issues· 51 open

View all issuesOpen on GitHub
  • #918

    Syntax similar to JSX

    priority-2-moderateUpdated Jul 14, 2026
  • #1136

    Allow threading for sync `use_effect` calls

    priority-2-moderateUpdated Jul 14, 2026
  • #786

    Better compatibility with ReactJS Packages

    priority-1-hightype-investigationUpdated Jul 7, 2026
  • #1258

    Backport `reactpy_django` features to `reactpy`

    priority-2-moderateUpdated Jun 28, 2026
  • #1319

    Allow JavaScript components inside of props dict

    priority-2-moderatetype-revisionUpdated Jun 28, 2026
  • #1094

    Storage backed VDOM trees and hook states

    priority-3-lowtype-refactorUpdated May 11, 2026
  • #778

    Shadow DOM Support

    priority-2-moderateUpdated May 11, 2026
  • #828

    Determine Best Auth Solution

    priority-2-moderatetype-investigationUpdated May 11, 2026
  • #894

    Create a way to evaluate arbitrary javascript

    priority-3-lowtype-investigationUpdated Feb 22, 2026
  • #883

    Investigate MorphDOM vs ReactDOM

    priority-3-lowtype-investigationUpdated Feb 22, 2026

> Tags

Pythonjavascriptpythonreactreactpy

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架