It's React, but in Python
Find a file
Abhiram 8120ddc228
Better Error message if no backend installed #1042 (#1045)
* Better Error message if no backend installed #1042

* change the error message as requested

* Update src/py/reactpy/reactpy/backend/default.py

Co-authored-by: Ryan Morshead <ryan.morshead@gmail.com>

* fix linting issues

* Update src/py/reactpy/reactpy/backend/default.py

Co-authored-by: Ryan Morshead <ryan.morshead@gmail.com>

* Improve readability

* Update src/py/reactpy/reactpy/backend/default.py

* make text bold

---------

Co-authored-by: Ryan Morshead <ryan.morshead@gmail.com>
2023-06-13 10:09:39 -06:00
.github Create CODEOWNERS (#1011) 2023-06-06 11:49:22 -06:00
branding add logo for social card (#945) 2023-03-01 00:44:16 -08:00
docs docs fixes (#1039) 2023-06-10 11:22:55 -07:00
src Better Error message if no backend installed #1042 (#1045) 2023-06-13 10:09:39 -06:00
.gitignore Poetry+Hatch Monorepo (#1002) 2023-06-03 14:56:52 -07:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md (#119) 2019-10-06 03:45:51 -07:00
LICENSE update license year 2022-01-30 17:37:43 -08:00
pyproject.toml avoid importing backend-specific dependencies (#1006) 2023-06-07 12:42:06 -07:00
README.md Remove HR from readme (#1013) 2023-06-06 16:46:28 -07:00
requirements.txt rename test-run.txt to nox-deps.txt 2021-12-15 21:44:03 -08:00
tasks.py Fixed FileNotFound error while running hatch run lint-py (#1023) 2023-06-08 10:51:00 -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.