The Snake Shack root
The Snake Shack projects root
_____ __ _________.__ __
/ _ \ __ ___/ |_ ____ / _____/|__|/ |_ ____
/ /_\ \| | \ __\/ _ \\_____ \ | \ __\/ __ \
/ | \ | /| | ( <_> ) \| || | \ ___/
\____|__ /____/ |__| \____/_______ /|__||__| \___ >
\/ \/ \/
Static website generator/template engine
Current version: 1.2.2 (December 12, 2018).
AutoSite is a Python 3 script I wrote when I was actively managing a
static website with a bunch of pages, and wanting something to keep
the navigation all consistent.
It takes in an input folder (in/) and a templates folder
('templates/') and spits out a website with the content and attributes
(or variables) from the input filled out into its template.
It's complicated when I try to explain it, but there's an excellent
manual Cammy made which you can check out here, generated with
AutoSite itself:
AutoSite Manual/sample site
To install, run "pip3 install autosite"
(or just "pip install autosite" depending on your setup)
This is the preferred way to install and use AutoSite, since you can
simply update it with "pip(3) install autosite --upgrade" and just
type "autosite" in your terminal to run it.
However, you can definitely run it as a standalone script as well,
either by __init__.py in the package or from the script link below.
Source code under the Unlicense:
AutoSite version 1.2.2 package/source (8 KB)
AutoSite version 1.2.2 script (17 KB)
On the web:
AutoSite package on PyPI
AutoSite Github repository