Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 4 months ago
JSON representation
Build html component with python
- Host: GitHub
- URL: https://github.com/Unviray/pyplater
- Owner: Unviray
- License: mit
- Created: 2020-07-28T18:41:29.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T12:47:39.000Z (about 2 years ago)
- Last Synced: 2024-09-13T05:00:14.670Z (5 months ago)
- Topics: hacktoberfest, hacktoberfest-accepted, hacktoberfest-starter, hacktoberfest2021, html, javascipt, python
- Language: Python
- Homepage:
- Size: 88.9 KB
- Stars: 12
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- Contributing: CONTRIBUTING.rst
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.rst
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-python-html - Unviray/pyplater
- awesome-python-html - Unviray/pyplater
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 ☺