Skip to main content

python functions to HTML

Project description

pythontohtml : python functions to HTML

USAGE

from pythontohtml.htmlTags import html, div, header, h1, italic

html(
    div(
        header(h1("This is Header",id="main-header",className="header")),

        div(italic(("Let`s try this!"))),

        id="main-container",
        other_attr={
            "data-id" : 23
        },
    ),
    title="Testing..."
)

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

pythontohtml-1.0.0.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

pythontohtml-1.0.0-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

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