Escriu per cercar…

Reflex

Reflex is an open-source framework for quickly building beautiful, interactive web applications in pure Python.

Introduction

Reflex is an open-source framework for quickly building beautiful, interactive web applications in pure Python.

Getting Started

ps
uv init app
cd app
uv init reflex

Init the project

ps
uv run reflex init

The command will return several template options to choose from as shown below.

Select “A blank Reflex app”

This will create a directory structure like this:

app
├── .web
├── assets
├── app
│   ├── __init__.py
│   └── app.py
└── rxconfig.py

Initializing your project creates a directory with the same name as your app. This is where you will write your app’s logic.

Reflex generates a default app within the app/app.py file. You can modify this file to customize your app.

Run it in development mode:

ps
uv run reflex run

Estàs llegint una vista prèvia.

Inicia sessió amb Google per llegir la pàgina completa.

Inicia sessió amb Google

Amb qualsevol compte de Google. Només et demanarem que acceptis les condicions del servei.