It's React, but in Python
Find a file
Ryan Morshead ac582666eb
Poetry+Hatch Monorepo (#1002)
* re-organize dirs + start using hatch

* setup root pyproject.toml + basic invoke tasks

* add publish task

* more ruff fixes

* get workflows to run

* split up script runs

* rename to check

* change matrix order

* make ruff happy

* get tests to pass

* check semver

* more fixes

* ignore missing coverage

* fix cov

* fix import sort

* try build in env-js

* try latest hatch-build-scripts

* misc fixes

* try to fix npm in gh action

* do not set registry url by default

* allow re-runs

* no need for extra build

* fix doc build and tests

* remove scripts

* fix tests

* update contributor guide
2023-06-03 14:56:52 -07:00
.github Poetry+Hatch Monorepo (#1002) 2023-06-03 14:56:52 -07:00
branding add logo for social card (#945) 2023-03-01 00:44:16 -08:00
docs Poetry+Hatch Monorepo (#1002) 2023-06-03 14:56:52 -07:00
src Poetry+Hatch Monorepo (#1002) 2023-06-03 14:56:52 -07: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 Poetry+Hatch Monorepo (#1002) 2023-06-03 14:56:52 -07:00
README.md Clean up readme (#1000) 2023-05-28 21:55:11 -07:00
requirements.txt rename test-run.txt to nox-deps.txt 2021-12-15 21:44:03 -08:00
tasks.py Poetry+Hatch Monorepo (#1002) 2023-06-03 14:56:52 -07: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.