← 输入框|github.com|刷新
Skip to content
reactive-pythonPublic

About

It's React, but in Python

Topics

Resources

Stars

8.2k stars

Watchers

52 watching

Forks

 
 

Repository files navigation

ReactPy

ReactPy is a library for building user interfaces in Python without Javascript. ReactPy interfaces are made from components that look, feel, and behave similar to those found in ReactJS. By using the server-side executor, you can leverage Python's full capabilities for rendering and managing your UI, keeping the logic on the server while the client remains lightweight.

Designed with simplicity in mind, ReactPy can be used by those with minimal web development experience while also being powerful enough to grow with your ambitions. Additionally, autonomous LLM agents can leverage the compacted documentation to develop with ReactPy efficiently.

At a Glance

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

from reactpy import component, html
from reactpy.executors.asgi import ReactPy

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

app = ReactPy(hello_world)

Resources

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

About

It's React, but in Python

Topics

Resources

Stars

8.2k stars

Watchers

52 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages