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.2.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
blu_react-0.0.2-py3-none-any.whl
(34.3 kB
view details)
File details
Details for the file blu_react-0.0.2.tar.gz.
File metadata
- Download URL: blu_react-0.0.2.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 |
d81c16f7f36ab3379478c01ec05a58bff0ec8d8b879506062021843d1c2a56ad
|
|
| MD5 |
b03c07dc677e87271b9e039cecadb47b
|
|
| BLAKE2b-256 |
adf46f1694f92e33dab08eb4add3976f0a5b712c176ee80213a6990a30329214
|
File details
Details for the file blu_react-0.0.2-py3-none-any.whl.
File metadata
- Download URL: blu_react-0.0.2-py3-none-any.whl
- Upload date:
- Size: 34.3 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 |
c2fc7e3354f53da4e9d41eb7c02d6501fcc81dc67217d9e9d6b262addeec7fef
|
|
| MD5 |
a1d7ac775ca9a20f5311263081483846
|
|
| BLAKE2b-256 |
0367a37a1606090d937061c7f2a32baa454f1e0e03c2a9dfe4a56fc6aa52de2f
|