Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Unviray/pyplater

Build html component with python
https://github.com/Unviray/pyplater

hacktoberfest hacktoberfest-accepted hacktoberfest-starter hacktoberfest2021 html javascipt python

Last synced: 7 days ago
JSON representation

Build html component with python

Awesome Lists containing this project

README

        

pyplater
=========

Build ``html`` component with python.

.. code-block:: 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)

Contributing
------------

Whether reporting bugs, discussing improvements and new ideas or writing
extensions: Contributions to pyplater 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 ☺