Metadata-Version: 2.3
Name: dainty
Version: 0.2.1
Summary: Add your description here
Author-email: gaardhus <tobias_gaardhus@hotmail.com>
Requires-Python: >=3.12
Requires-Dist: ipython>=8.18.1
Requires-Dist: pydantic[email]>=2.9.2
Requires-Dist: pytest>=8.3.3
Description-Content-Type: text/markdown

# Dainty

Dainty is a simple, plug and play extension of pydantic, that allows you to
easily create HTML input elements based on your pydantic models.

## Installation

```bash
uv add dainty
```

## Usage

```python
from dainty import DaintyModel

class MyModel(DaintyModel):
    name: str
    age: int
    gender: Literal["Male", "Female", "Non Binary", "Other"]

MyModel.to_html()
```
