A template repository implementing HTML5 Boilerplate 8.0 in Sanic using the Domonic framework.

Overview

sanic-domonic-h5bp

Pipenv - Python version Imports: isort Code style: black

A template repository implementing HTML5 Boilerplate 8.0 in Sanic using the Domonic framework.

If you need frontend interactivity, this template goes well with e.g. HTMX and HyperScript rather than your run-of-the-mill bloated JS framework du jour.

πŸ“‹ Requirements

  • python-3.8
  • pipenv

πŸƒ Running

git clone [email protected]:pyxy-dk/sanic-domonic-h5bp.git

cd sanic-domonic-h5bp

pipenv install --dev

pipenv shell

sanic src.sanic_domonic_h5bp.app

Note that Sanic does not officially support running on Windows.

πŸ—ΊοΈ File mapping from H5BP

The files from a standard download of H5BP 8.0 maps to the following files in this template project:

h5bp
β”‚
β”œβ”€β”€ css
β”‚   β”œβ”€β”€ main.css                      β‡’ ./src/sanic_domonic_h5bp/static/css/
β”‚   └── normalize.css                 β‡’ ./src/sanic_domonic_h5bp/static/css/
β”‚
β”œβ”€β”€ doc                               Β¬ Not included
β”‚
β”œβ”€β”€ img                               β‡’ ./src/sanic_domonic_h5bp/static/img/
β”‚
β”œβ”€β”€ js
β”‚   β”œβ”€β”€ vendor
β”‚   β”‚   └── modernizer-3.11.2.min.js  β‡’ ./src/sanic_domonic_h5bp/static/js/vendor/
β”‚   β”œβ”€β”€ main.js                       β‡’ ./src/sanic_domonic_h5bp/static/js/
β”‚   └── plugins.js                    β‡’ ./src/sanic_domonic_h5bp/static/js/
β”‚
β”œβ”€β”€ .editorconfig                     β‡’ expanded in ./.editorconfig
β”œβ”€β”€ .gitattributes                    β‡’ expanded in ./.gitattributes
β”œβ”€β”€ .gitignore                        β‡’ expanded in ./.gitignore
β”œβ”€β”€ .htaccess                         Β¬ Not included
β”œβ”€β”€ 404.html                          ⇏ Implemented in domonic
β”œβ”€β”€ browserconfig.xml                 β‡’ ./src/sanic_domonic_h5bp/static/
β”œβ”€β”€ favicon.ico                       β‡’ ./src/sanic_domonic_h5bp/static/
β”œβ”€β”€ humans.txt                        β‡’ ./src/sanic_domonic_h5bp/static/
β”œβ”€β”€ icon.png                          β‡’ ./src/sanic_domonic_h5bp/static/
β”œβ”€β”€ index.html                        ⇏ Implemented in domonic
β”œβ”€β”€ LICENSE.txt                       β‡’ ./LICENSE
β”œβ”€β”€ package.json                      Β¬ Not included
β”œβ”€β”€ package-lock.json                 Β¬ Not included
β”œβ”€β”€ robots.txt                        β‡’ ./src/sanic_domonic_h5bp/static/
β”œβ”€β”€ site.webmanifest                  β‡’ ./src/sanic_domonic_h5bp/static/
β”œβ”€β”€ tile.png                          β‡’ ./src/sanic_domonic_h5bp/static/
└── tile-wide.png                     β‡’ ./src/sanic_domonic_h5bp/static/

πŸ™ Thanks to

Owner
PyXY
PyXY πŸ’– FOSS
PyXY
Template repository to build PyTorch projects from source on any version of PyTorch/CUDA/cuDNN.

Template repository to build PyTorch projects from source on any version of PyTorch/CUDA/cuDNN.

Joonhyung Lee/μ΄μ€€ν˜• 651 Dec 12, 2022
The Django Base Site is a Django site that is built using the best Django practices and comes with all the common Django packages that you need to jumpstart your next project.

Django Base Site The Django Base Site is a Django site that is built using the best Django practices and comes with all the common Django packages tha

Brent O'Connor 167 Jan 03, 2023
Django Boilerplate - Material Kit Design | AppSeed

Django Boilerplate - Material Kit Design | AppSeed

App Generator 45 Dec 23, 2022
Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly.

Cookiecutter Django Powered by Cookiecutter, Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly. Documentati

Daniel Roy Greenfeld 10k Jan 01, 2023
A template for some new Python tool or package with a reasonable basic setup.

python-app-template A template with a reasonable basic setup, including: black (formatting) flake8 (linting) mypy (type checking) isort (import sortin

Anton Pirogov 3 Jul 19, 2022
The starter for the Flask React project

Flask React Project This is the starter for the Flask React project. Getting started Clone this repository (only this branch) git clone https://github

Parker Bolick 2 May 14, 2022
A Django project skeleton that is modern and cutting edge.

{% comment "This comment section will be deleted in the generated project" %} Edge A Fantastic Django project starter. Features Ready Bootstrap-themed

Arun Ravindran 827 Dec 15, 2022
Flask Boilerplate - Material Kit Design | AppSeed

Flask Boilerplate - Material Kit Design | AppSeed

App Generator 45 Nov 18, 2022
Simple boilerplate ready for development

StartApp Simple boilerplate ready for development Notes Currently supported frameworks are: FastApi, Flask πŸ”¨ Installation $ sudo pip3 install starta

Sabuhi 16 Oct 16, 2022
A Project Template With Python

File Structure . β”œβ”€β”€ LICENSE β”œβ”€β”€ Makefile # commands β”œβ”€β”€ README.md β”œβ”€β”€

Annotation AI 61 Jan 02, 2023
Boilerplate for starting a python project

Python Project Boilerplate Simple boilerplate for starting a python proect. Using the repo Follow following steps to install client on server Create a

Prajwal Dahal 1 Nov 19, 2021
Launchr is an open source SaaS starter kit, based on Django.

Launchr Launchr is an open source SaaS starter kit. About Launchr is a fully-equipped starter template, ready to start a SaaS web app. It implements t

Jannis Gebauer 183 Jan 06, 2023
NHS Theme for Streamlit applications

NHS Streamlit App Template Deployment (local) The tool has been built using Stre

nhs.pycom 3 Nov 07, 2022
Cookiecutter-allpurpose-minimal-python - A simple cookiecutter template for general-purpose python projects.

cookiecutter-allpurpose-minimal-python A simple cookiecutter template for general-purpose python projects. To use, run pip install cookiecutter cookie

E. Tolga Ayan 2 Jan 24, 2022
A platform for developers πŸ‘©β€πŸ’» who wants to share their programs and projects.

Hacktoberfest-2021 A platform for developers πŸ‘©β€πŸ’» who wants to share their projects and programs. Hacktoberfest has updated their rules and now this

Mayank Choudhary 40 Nov 07, 2022
Open-source full-stack seed project that uses a React UI powered by a simple Flask API Server

React Flask Authentication Open-source full-stack seed project that uses a React UI powered by a simple Flask API Server.

App Generator 37 Dec 24, 2022
Backend Boilerplate using Django,celery,Redis

Backend Boilerplate using Django,celery,Redis

Daniel Mawioo 2 Sep 14, 2022
Python example making use of best practice file structure and multithreading.

Python example making use of best practice file structure and multithreading.

Bob 1 Oct 13, 2021
A low dependency and really simple to start project template for Python Projects.

Python Project Template A low dependency and really simple to start project template for Python Projects. HOW TO USE THIS TEMPLATE DO NOT FORK this is

Yurii Dubinka 5 Jan 21, 2022
Django starter project with πŸ”‹

A batteries-included Django starter project. For a production-ready version see the book Django for Professionals. πŸš€ Features Django 3.1 & Python 3.8

William Vincent 1.5k Jan 08, 2023