A full stack React framework for Python
Project description
Blu
Blu is still in early testing and should not be used in production applications.
A full stack React framework for Python.
from blu import client
from blu.html import html, head, body, h1, button
__client__ = True
def __page__():
return html[
head,
body[
h1[
ClickCounter
]
]
]
return ClickCounter
@client
def ClickCounter():
count, set_count = use_state(0)
def handle_click(e):
set_count(count + 1)
return button(onClick=handle_click)[f"Clicks: {count}"]
Installation
pip install -U blu-react
Documentation
Documentation available at readthedocs.io.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
blu_react-0.0.2rc1.tar.gz
(836.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file blu_react-0.0.2rc1.tar.gz.
File metadata
- Download URL: blu_react-0.0.2rc1.tar.gz
- Upload date:
- Size: 836.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8561bb285236f4c031a3ca23f1362605e0013d786335b1ceaa0c260a07e40163
|
|
| MD5 |
8d83d20ffa58038545d260371558015a
|
|
| BLAKE2b-256 |
01f852ecdd3458971933111f61e4b77f9bedcccadaa3429acee7c8136715d356
|
File details
Details for the file blu_react-0.0.2rc1-py3-none-any.whl.
File metadata
- Download URL: blu_react-0.0.2rc1-py3-none-any.whl
- Upload date:
- Size: 34.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc266291512391f41d626f87cff01ef563c0eae5f362d0d1cd8ada521677faf3
|
|
| MD5 |
c536069c2dc9776d06d14058b1d57e71
|
|
| BLAKE2b-256 |
28587e7a9df4d4e43430d2264ea35498e151acfff7d4cf0600bbd7fecb48b0e3
|