reflex
Ochiq manbalardan🕸️ Sof Python’da veb-ilovalar 🐍
Mashina tarjimasi · Asl matnni koʻrsatish
🕸️ Web apps in pure Python 🐍
Sharh
- dashboard
- data-analysis
- data-science
- data-visualization
- developer-tools
- framework
- fullstack
- gui
- open-source
- python
Oʻrnatish
Buyruqlar faqat koʻrsatiladi, marketpleys ularni bajarmaydi. Rasmiy hujjatlar bilan solishtiring.- Rasmiy saytOchiq manbalardankatalog metamaʼlumotlaridanreflex.dev/ ↗
- Til paketlari reyestripythonOchiq manbalardanpaket manifestidan — reyestrda chop etilgani tekshirilmagan
pipx install reflexTekshirilmagan: oʻrnatishdan oldin reyestrdagi paket aynan shu loyihaga tegishli ekanini tekshiring.
pypi.org/project/reflex/ ↗ - Manbadan yigʻishOchiq manbalardankatalog metamaʼlumotlaridan
Manbadan yigʻish: tekshirilgan yigʻish retsepti yoʻq — repozitoriy koʻrsatmalariga amal qiling.
github.com/reflex-dev/reflex ↗
Moslik
«Nomaʼlum» dalil topilmaganini bildiradi, mahsulot mos emasligini emas.| Platforma | Holat | Arxitektura | Dalil | Ishonchlilik |
|---|---|---|---|---|
| Windows | Nomaʼlum | — | — | — |
| macOS | Nomaʼlum | — | — | — |
| Linux | Nomaʼlum | — | — | — |
| Container (OCI) | Nomaʼlum | — | — | — |
| Python | Mos | — | paket manifesti: pyproject.toml name | 0.60 |
Relizlar
tekshirilgan: 29-okt, 20261.1.1 versiyasi fayllari
| Fayl | Platforma | Hajm | SHA-256 | Rasmiy manbadan yuklab olish |
|---|---|---|---|---|
| SHA256SUMS | nazorat summalari | 218 B | 2ef2def19e7f… | Rasmiy manba ↗ |
Relizlar tarixi
- v1.1.08-okt, 2026Rasmiy manba ↗
- v0.10.127-okt, 2026Rasmiy manba ↗
- v0.10.08-okt, 2026Rasmiy manba ↗
- v0.9.139-okt, 2026Rasmiy manba ↗
- v0.2.127-okt, 2026Rasmiy manba ↗
- v0.2.08-okt, 2026Rasmiy manba ↗
- v0.1.127-okt, 2026Rasmiy manba ↗
Sifat profili
algoritm quality-v1.0 · baholangan 15-okt, 2026Baho tarkibi
Litsenziya
Apache-2.0Bu katalog siyosati holati, yuridik xulosa emas.
Manbalar
Sharhlar
Hali sharhlar yoʻq.
Muqobillar
README
reflex-dev/reflex dan · litsenziya Apache-2.0 · yuklangan 29-okt, 2026✨ Performant, customizable web apps in pure Python. Deploy in seconds. ✨
[PyPI version] [versions] [Documentation] [PyPI Downloads] [Discord] [Twitter]
[!NOTE] Build faster with Reflex:
- AI Builder - Generate full-stack Reflex apps in seconds.
- Agent Toolkit - Connect MCP and Skills to your coding assistant.
- App Management - Deploy and manage your Reflex apps.
Introduction
Reflex is a library to build full-stack web apps in pure Python.
Key features:
- Pure Python - Write your app's frontend and backend all in Python, no need to learn Javascript.
- Full Flexibility - Reflex is easy to get started with, but can also scale to complex apps.
See our architecture page to learn how Reflex works under the hood.
⚙️ Installation
Important: We strongly recommend using a virtual environment to ensure the reflex command is available in your PATH.
🥳 Create your first app
Create a project, add Reflex, and start the development server with uv:
mkdir my_app_name
cd my_app_name
uv init
uv add reflex
uv run reflex init
uv run reflex run
You should see your app running at http://localhost:3000.
Now you can modify the source code in my_app_name/my_app_name.py. Reflex has fast refreshes so you can see your changes instantly when you save your code.
🫧 Example App
Build an image generation app in Python with Reflex: define the UI, manage state in a class, and call an image model from an event handler.
import reflex as rx
import openai
client = openai.AsyncOpenAI()
class State(rx.State):
prompt: str = ""
image_url: str = ""
processing: bool = False
@rx.event
def set_prompt(self, value: str):
self.prompt = value
@rx.event
async def generate(self):
self.processing = True
yield
response = await client.images.generate(
model="gpt-image-1.5",
prompt=self.prompt,
)
self.image_url = f"data:image/png;base64,{response.data[0].b64_json}"
self.processing = False
def index():
return rx.vstack(
rx.heading("Image Generator"),
rx.input(placeholder="Enter a prompt...", on_change=State.set_prompt),
rx.button("Generate", on_click=State.generate, loading=State.processing),
rx.image(src=State.image_url),
)
app = rx.App()
app.add_page(index, title="Reflex:Image Generation")