Metadata-Version: 2.4
Name: blu-react
Version: 0.0.2rc1
Summary: A full stack React framework for Python
Project-URL: Homepage, https://github.com/johnlarson/blu
Project-URL: Documentation, https://blu-react.readthedocs.io
Project-URL: Issues, https://github.com/johnlarson/blu/issues
Author-email: John Larson <john.robert.larson@gmail.com>
License-Expression: MIT
License-File: LICENSE
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.14
Requires-Dist: aiofiles
Requires-Dist: uvicorn
Description-Content-Type: text/markdown



# Blu

*Blu is still in early testing and should not be used in production applications.*

A full stack React framework for Python.


```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

```bash
pip install -U blu-react
```

## Documentation

Documentation available at [readthedocs.io](<https://blu-react.readthedocs.io>).