Skip to main content

Create html sites with python

Project description

PY2HTML

Introduction

What is PY2HTML?

PY2HTML is a python module that creates static websites using python

How to Install:

Windows:

pip install py2html

Linux/Mac

sudo pip3 install py2html

Hello World Example:

from py2html.main import *

page = web() # Creating object to receive web class

page.create(title='My Site') # Creating website and defining title

page.label(text='Hello World') # Creating Label

page.compile() # Create html page, return: page.html

How to contribute

You can contribute in the following ways:

  • Helping in the creation of the library

  • Disclosing the project

Open an issue explaining how you can contribute to the project and show what you did for the project (class, function, incrementing a function)!

How to learn?

  • Documentation
  • GitHub issues
  • Python Help:
    help(web) #help from class and functions!
    

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

PY2HTML-Andre_Luis-0.0.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PY2HTML_Andre_Luis-0.0.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file PY2HTML-Andre_Luis-0.0.1.tar.gz.

File metadata

  • Download URL: PY2HTML-Andre_Luis-0.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.55.2 CPython/3.8.5

File hashes

Hashes for PY2HTML-Andre_Luis-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9402101f7fe4c8fa9c4b5c496ea9fc519d1edfe5fcb2cc7bf7425e85d62918ef
MD5 627cfeb15c5be52e6a921cc68be2bd14
BLAKE2b-256 1bf6e6a3adc69f51120054cc6d315fb423cf0b816b61e43419d354d8f45a56a2

See more details on using hashes here.

File details

Details for the file PY2HTML_Andre_Luis-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: PY2HTML_Andre_Luis-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.55.2 CPython/3.8.5

File hashes

Hashes for PY2HTML_Andre_Luis-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7daa6a12594e12787718a9ce17345ea236c363318e9cce24b80b75c72b9be424
MD5 b99d9cfbed60d37bc343163b4f6c4611
BLAKE2b-256 632eaa5ad4747cb83ed3f994307a9ed5fde1948fa6e4fc0ac19a81c552dc656f

See more details on using hashes here.

Supported by

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