Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.

Release files for Web-Templates 0.0.0a0.post3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for Web-Templates 0.0.0a0.post3
File Interpreter ABI Platform
Web_Templates-0.0.0a0.post3-py3-none-any.whl Python 3 none any Details

Release files / Web_Templates-0.0.0a0.post3-py3-none-any.whl

Download URL Web_Templates-0.0.0a0.post3-py3-none-any.whl
Size 22.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a6ec584194b79d45114c4ea773e922a9ce998c34e0d3fdf0cfc11d056ebf04b
BLAKE2b-256 checksum
How to use checksums
a390e0c3a856fa0cb5b807a4d0c4ed79be7fa915b4b9db4611f52279a9655902
Upload date
Uploaded using Trusted Publishing?
What is 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
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page