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 details)

Uploaded Source

Built Distribution

pyplater-0.1.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file pyplater-0.1.0.tar.gz.

File metadata

  • Download URL: pyplater-0.1.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for pyplater-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7f3310e309f680b384f863911747503c43279a7d24c1a2319bedbdbd3b1f5fef
MD5 fc4313a22e18b1db5c4ef8b86d73a566
BLAKE2b-256 69731b8833880bf71f0d13602bb3da258f7b754723ac041dfc6f9424f5ff9417

See more details on using hashes here.

File details

Details for the file pyplater-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyplater-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for pyplater-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 af80eb7b1cdaff37a615fb1bbb4cc77cebd31eeb3a1a72468b047f4b38c3e990
MD5 e1618c8ae09d637a7f1ca9d36023946b
BLAKE2b-256 6780094e2ff8afd23a45f1375853c81f9caa06d0f5c0a0c996b9f6c00b3aa5c2

See more details on using hashes here.

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