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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for PY2HTML_Andre_Luis-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7daa6a12594e12787718a9ce17345ea236c363318e9cce24b80b75c72b9be424 |
|
MD5 | b99d9cfbed60d37bc343163b4f6c4611 |
|
BLAKE2b-256 | 632eaa5ad4747cb83ed3f994307a9ed5fde1948fa6e4fc0ac19a81c552dc656f |