Metadata-Version: 2.4
Name: clemui
Version: 0.1.1
Summary: A reactive tkinter-based desktop UI library
Author: User
License-Expression: MIT
Project-URL: Source, https://github.com/user/clemui
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: User Interfaces
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# clemui

A reactive tkinter-based desktop UI library for Python.

## Install

```bash
pip install clemui
```

## Usage

```python
from clemui import App, Signal, Component, VNode, VBox
from clemui.widgets import Label, Button

class Counter(Component):
    def __init__(self):
        super().__init__()
        self.count = Signal(0)
        self.bind(self.count)

    def render(self):
        return VNode(VBox, spacing=10, children=[
            VNode(Label, text=f"Count: {self.count.value}"),
            VNode(Button, text="+", command=lambda: self.count.set(self.count.value + 1)),
        ])

app = App(title="My App")
app.mount(Counter())
app.run()
```

## Features

- **Signals** — reactive state containers with auto-notification
- **Components** — class-based UI with `render()` returning VNode trees
- **Auto-binding** — Signal values auto-update widget properties
- **Layout** — VBox, HBox, Padding helpers
- **Zero dependencies** — pure Python + stdlib tkinter
