Metadata-Version: 2.1
Name: libdom
Version: 0.0.2
Summary: LibDOM is a Python library that abstracts all modern HTML tags, enabling you to build dynamic HTML documents programmatically. With a clean and intuitive API, LibDOM simplifies web development by allowing you to generate and manipulate HTML entirely in Python. Perfect for creating dynamic, maintainable, and responsive web pages.
Author: Pedro Salles
License: MIT License
Keywords: Html,Builder,Html Builder
Description-Content-Type: text/markdown
License-File: LICENSE

# LibDOM

LibDOM is a Python library that abstracts all modern (non-obsolete) HTML tags, allowing you to create dynamic HTML documents in a simple and programmatic way. With LibDOM, you can generate HTML structures entirely in Python, bringing clarity and flexibility to web development.

## Key Features

- **Complete Abstraction**: Supports all modern HTML tags.
- **Flexibility**: Ideal for creating dynamic web pages that require frequent updates.
- **Productivity**: Reduces repetitive code, simplifies maintenance, and accelerates development.

## Example

```py
from libdom import Html, Body, Div, P

# Creating a dynamic HTML page
page = Html(
    Body(
        Div(
            P("Hello, LibDOM! Building dynamic HTML with Python.", style="margin: none;"),
            class_="div",
            id="div"
        )
    )
)

print(page)
# Return <html><body><div class="div" id="div" ><p style="margin: none;" >Hello, LibDOM! Building dynamic HTML with Python.</p></div></body></html>
```
