Skip to main content

Build html component with python

Project description

Build html component with python.

from pyplater import *  # import all tag

documents = html(
    head(
        meta(charset="utf-8"),
        link(rel="stylesheet", href="./style.css"),
        title("Documents"),
    ),
    body(
        h1("The title"),
        p("lorem ipsum"),
    ),
)

print(documents.render())

Contributing

Whether reporting bugs, discussing improvements and new ideas or writing extensions: Contributions to Pyplaterr are welcome! Here’s how to get started:

  1. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug

  2. Fork the repository on Github, create a new branch off the master branch and start making your changes (known as GitHub Flow)

  3. Write a test which shows that the bug was fixed or that the feature works as expected to cover your change

  4. Send a pull request and bug the maintainer until it gets merged and published ☺

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

pyplater-0.1.0.tar.gz (6.4 kB view hashes)

Uploaded Source

Built Distribution

pyplater-0.1.0-py3-none-any.whl (5.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