Metadata-Version: 2.0
Name: generate-html
Version: 0.0.2
Summary: Generate HTML5 with Python generators
Home-page: https://github.com/gvx/generate-html
Author: Robin Wellner
Author-email: rwellner0@gmail.com
License: MIT
Description-Content-Type: text/markdown
Keywords: generic,utility,html
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Dist: signature-altering

# generate-html

Generate HTML5 with pure Python.

## Usage

	@document
	def hello_world(h):
		with h.p(class_='main'):
			yield h.span(h.strong("Hello World!"), data_msg='greeting')

	>>> print(to_html(hello_world()))
	<!doctype html><p class="main"><span data-msg="greeting"><strong>Hello World!</strong></span></p>

## Installation

generate-html is distributed on [PyPI](https://pypi.org) as a universal
wheel and is available on Linux/macOS and Windows and supports
Python 3.5+ and PyPy.

    $ pip install generate-html

## License

generate-html is distributed under the terms of the
[MIT License](https://choosealicense.com/licenses/mit).


