Standardized templates for Python's web frameworks
Project description
This project hopes to cater for the situation that one is working through a tutorial for their selected web framework and reads “Provide a base template for your website”. Your thinking that’s probably important perhaps there is a standardized template only to realise that “The cake is not real”.
This package provides skeletal HTML templates for the different Python web frameworks one has used and will gladly accept contributions for the ones you are using. Hopefully, after a period of time this project might present the standard for such templates.
Background
A number of Python web frameworks and template engines exist none of which appear to offer a standardized base template. As a result each extention to these frameworks provides its own variation of a “base” HTML template.
This package hopes to provide a standardized skeleton for such packages and indeed the frameworks themselves.
Purpose
This package provides skeleton templates for other packages to extend. skeleton was chosen since it is less likely to clash with more customary terms, base and layout, used within web framework packages and their extentions. 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
Example
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
Bleeding edge installations may be done directly from the repository
pip install git+https://gitlab.com/manaikan/web-templates.git
Documentation
Documentation are available at Gitlab.io.
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 Distributions
Built Distribution
File details
Details for the file Web_Templates-0.0.0a0.post3-py3-none-any.whl
.
File metadata
- Download URL: Web_Templates-0.0.0a0.post3-py3-none-any.whl
- Upload date:
- Size: 22.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.4.2 requests/2.22.0 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a6ec584194b79d45114c4ea773e922a9ce998c34e0d3fdf0cfc11d056ebf04b |
|
MD5 | df83c9dc5c6076acf4c4f4b8ab5b376c |
|
BLAKE2b-256 | a390e0c3a856fa0cb5b807a4d0c4ed79be7fa915b4b9db4611f52279a9655902 |