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
Vue + Django with no compromises. Django Templates and Vue SFCs in harmony without sacrificing the full power of either.

Cookiecutter Vue Django Vue + Django with no compromise. Cookiecutter Vue Django is a framework for jumpstarting production-ready Django + Vue project

Mike Hoolehan 122 Dec 22, 2022
Template to quickly start your playwright-python project

Playwright-python template πŸͺ Template to quickly start your playwright-python project Getting started β€’ Demo β€’ Configuration Getting started Clone th

Constantin 1 Dec 13, 2021
A full stack boilerplate for FastAPI

A full stack boilerplate for FastAPI

Tyler M. Kontra 94 Dec 13, 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
King is a simple boilerplate from a bigger Discord Bot project created for my Discord Server.

King A simple Discord bot boilerplate. King is a simple boilerplate from a bigger Discord Bot project created for my Discord Server. I intend to showc

Xminent 0 Aug 21, 2021
This is a FastAPI, React, MongoDB stack Boilerplate. It's as glorious as a highland coo.

Coo - F.A.R.M stack BoilerPlate F.A.R.M - FastAPI, React, MongoDB This boilerplate utilizes FastAPI to build a REST API, MongoDB for data storage, and

Peter Waters 2 Feb 06, 2022
Template for creating ds simple projects

ds-project-template Template for creating ds simple projects Requirements pyenv python==3.9.4 Setup For this purpose you use following commands: pytho

1 Dec 17, 2021
Starter project for python based lambda project.

Serverless Python Starter Starter project for python based lambda project. Features FastAPI - Frontend dev with Hot Reload API Gateway Integration (+r

4 Feb 22, 2022
Generic python project template

generic-python-project-template generic-python-project-template STEPS - STEP 01- Create a repository by using template repository STEP 02- Clone the n

SUNNY BHAVEEN CHANDRA 3 Oct 03, 2022
Bleeding edge django template focused on code quality and security.

wemake-django-template Bleeding edge django2.2 template focused on code quality and security. Purpose This project is used to scaffold a django projec

wemake.services 1.6k Jan 04, 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
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
Django Webpack starter template for using Webpack 5 with Django 3.1 & Bootstrap 4. Yes, it can hot-reload.

Django Webpack Starter Hello fellow human. The repo uses Python 3.9.* Django 3.1.* Webpack 5.4.* Bootstrap 4.5.* Pipenv If you have any questions twe

Ganesh Khade 56 Nov 28, 2022
Generic template for python service

Cookie cutter template example Technology stack Flask Gevent UWSGI Poetry Docker Docker-compose Installation pip install cookiecutter cookiecutter git

Churkin Oleg 11 Oct 22, 2022
Forkable, Minimal Template for Starknet Projects.

Forkable, Minimal Template for Starknet Projects.

andreas 44 Oct 09, 2022
Django sample app with users including social auth via Django-AllAuth

demo-allauth-bootstrap Simple, out-of-the-box Django all-auth demo app A "brochure" or visitor (no login required) area A members-only (login required

Andrew E 215 Dec 20, 2022
Project template layout for Django 3.0+

Django 3.0+ project template This is a simple Django 3.0+ project template with my preferred setup. Most Django project templates make way too many as

JosΓ© Padilla 649 Dec 30, 2022
A boilerplate Django project for quickly getting started.

The Definitive Django Learning Platform. Django Project Boilerplate This repository is a boilerplate Django project for quickly getting started. Getti

Le Huynh Long 1 Nov 01, 2021
Template for creating PyPI project

template-for-creating-pypi-project Template for creating PyPI project Hello there! This is a template for creating a PyPI project. Fork or clone this

4 Apr 25, 2022
Um template para quem quiser usar o Docker + PGSQL + Django.

Um template para quem quiser usar o Docker + PGSQL + Django.

Drack 2 Mar 11, 2022