Web-Templates

Standardized templates for Python's web frameworks


Keywords
HTML, MVC Framework(s), Web Templates
Install
pip install Web-Templates==0.0.0a0.post3

Documentation

Web Templates

This package provides skeletal HTML templates for Python web frameworks.

A number of Python web frameworks and template engines exist without a standardized template structure. As a result each extention to these frameworks provides its own variation of a "base" HTML template. This package tries to provide a standardized skeleton for such packages and indeed the frameworks themselves.

This package provides skeleton templates for other packages to extend. skeleton was chosen since it seems customary for such extention packages to name their templates base or layout. These skeleton(s) provide a standard structure, outlined by the package documentation, and are named and organized according to how they are processed :

BACKEND_FRAMEWORK[/EXTENTION(S)][/FRONTEND_FRAMEWORK][/EXTENTION(S)]/skeleton.TEMPLATE_ENGINE.html

A template for the RESTful package, which exists for both Django as Django-RESTfull and Flask as Flask-ReSTful, might exist under the following paths :

flask/flask-RESTful/skeleton.jinja2.html
flask/flask-RESTful/skeleton.mako.html
django/django-RESTful/skeleton.DTL.html
django/django-RESTful/skeleton.jinja2.html

Installation

The package can be installed directly through pip :

pip install Web-Templates

Documentation

Documentation will be available shortlyPackage documentation is avaialble through read the docs.