domible

python classes to create accessible HTML elements and documents


Keywords
html, accessibility, a11y, web, development, frontend, server, side, rendering, SSR
License
MIT
Install
pip install domible==0.1.3

Documentation

domible

Domible is a set of Python classes used to generate HTML documents and elements of arbitrary complexity.

The basic idea behind domible is fairly simple, HTML elements are represented as Python objects. When an element object is evaluated, it renders the text of the HTML element. Objects can contain other element objects which will also evaluate to text when the containing object is evaluated.

Through this process of composition and recursive rendering, domible can be used to programmatically create HTML elements of arbitrary complexity directly in your Python code.

Go to the Domible Documentation for details and examples.