It's React, but in Python
Find a file
Ryan Morshead 3a3ad3f706
Skip rendering None in all situations (#1171)
* skip rendering none

* add changelog

* conditional render none should not reset state for sibling components

* minor renaming + better changelog

* misc fixes

* raises exceptiongroup

* skipif

* handle egroup in starlette

* final nocov
2023-12-27 19:02:16 -08:00
.github Concurrent Renders (#1165) 2023-12-09 08:11:46 -08:00
branding add logo for social card (#945) 2023-03-01 00:44:16 -08:00
docs Skip rendering None in all situations (#1171) 2023-12-27 19:02:16 -08:00
src Skip rendering None in all situations (#1171) 2023-12-27 19:02:16 -08:00
.gitignore minor improvements to project setup (#1082) 2023-07-02 16:15:14 -06:00
.pre-commit-config.yaml V1.0.2 changelog (#1088) 2023-07-03 23:48:37 -06:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md (#119) 2019-10-06 03:45:51 -07:00
LICENSE Update LICENSE date 2023-06-14 13:08:24 -06:00
pyproject.toml Try to fix lint (#1157) 2023-10-22 12:26:08 -06:00
README.md Remove HR from readme (#1013) 2023-06-06 16:46:28 -07:00
tasks.py Fix publish (#1064) 2023-07-02 16:31:49 -06:00

ReactPy

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.

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.