Skip to main content

Add your description here

Project description

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

uv add dainty

Usage

from dainty import DaintyModel

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

MyModel.to_html()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dainty-0.2.0.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dainty-0.2.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file dainty-0.2.0.tar.gz.

File metadata

  • Download URL: dainty-0.2.0.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.30

File hashes

Hashes for dainty-0.2.0.tar.gz
Algorithm Hash digest
SHA256 23401a5dbbca7a3993bbee58dda070f1a69cccbdac031ed7c05f1ad5932b8cae
MD5 7de7bb4f76f3230ad49666da8cc21bf7
BLAKE2b-256 fca9b1cb2f6b4bb702b991d4d33146ca355e360efcf658175d9b43f920659dc4

See more details on using hashes here.

File details

Details for the file dainty-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: dainty-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.30

File hashes

Hashes for dainty-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 325475ae3469535374168f05fa16e74035008b9d0b0422538765e6707ae06040
MD5 947b775cf25c5758e19a9af1380e649d
BLAKE2b-256 ee0dd08467c22e4bc09239d3e45cf44a3f1724ef739255a20d05fc5d2bac6d5d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page