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
Documentation
Documentation available on readthedocs.io {TODO add link here.}
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.1.tar.gz
(835.9 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.1-py3-none-any.whl
(34.3 kB
view details)
File details
Details for the file blu_react-0.0.1.tar.gz.
File metadata
- Download URL: blu_react-0.0.1.tar.gz
- Upload date:
- Size: 835.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc4613fd038857a9d928c1bea96569a9cf2108149831354c9979d9b26cdfb1f4
|
|
| MD5 |
3f5e73f08b1a10b97e0ae67f94f9a19b
|
|
| BLAKE2b-256 |
dc9f2128968e5923f4f3e0d5a4b9272a884ba6cd6d54e509280250a2ccc0e865
|
File details
Details for the file blu_react-0.0.1-py3-none-any.whl.
File metadata
- Download URL: blu_react-0.0.1-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 |
948f1603a5df4a916f8ba22c48c47541d79428fe5ddcb0649d5cd9fa5f0bbf81
|
|
| MD5 |
4ca476d7af602c40eb9d04d66fbec2ca
|
|
| BLAKE2b-256 |
86f2e9fa2519957810eacdbeb4958ade4ed60f79f61dedab0c7d0e330f60dec1
|