DashML Docs

DashML is a library for creating HTML components- directly in Python. You can define HTML components as functions, for reuse, composability, and rendering.

from dashml import render, _

def my_greeter(subject: str):
    return _.p(f"Hello {name}!")


While template languages like Django or Jinja have reusability and componentizing problems, DashML is built specifically for a great API for authoring components.

DashML is built as an extension to document creation on top of lxml. This gives DashML awesome speed, and native interop with lxml functions and methods.