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.1.tar.gz (12.4 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.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for dainty-0.2.1.tar.gz
Algorithm Hash digest
SHA256 5a3ef3f9aa4db85f37b4e38091a2a7c8e770f257368cd4f6d5b98d5396780a93
MD5 22204c37fb6f5b85ef0a0180d063bc05
BLAKE2b-256 d20d491cc550ecdcf2c7b5b01ccd70b7c82fb6c9175683e8b86ed620a58385b3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dainty-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5963e20abdd7f72825da609e1495e938bf4dd3f21ebe698dfa593e537f4d1d28
MD5 4de8a2a076e426d36000437f0f002ac1
BLAKE2b-256 23a9a5a0a1163191b1b66a03c55635f863257619273db300767a1fbc8e883040

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