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

Uploaded Source

Built Distribution

PY2HTML_Andre_Luis-0.0.1-py3-none-any.whl (3.8 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