Skip to content

reactive-python/reactpy

Repository files navigation

ReactPy · Tests PyPI Version License

ReactPy is a library for building user interfaces in Python without any Javascript. Interfaces made using ReactPy are composed of encapsulated components which look and behave similarly to those found in ReactJS. These components are easy to create and reason about when you're getting started, as well as simple to extend and maintain when you need to make changes later.

Whether you need to run a full blown application with a standalone server, or just want try things out in a Jupyter Notebook. ReactPy has you covered - it's both approachable for those without web development experience while also being powerful enough to grow with your ambitions.

Supported Servers Supported Integrations
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 HelloWorld():
    return html.h1("Hello, World!")

run(HelloWorld)

Resources

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