an html templating system thats also a good girl
Find a file
2025-10-06 16:20:52 -04:00
puppygirl start readme, never finish it 2025-10-06 16:20:52 -04:00
.gitignore oops 2025-10-06 16:12:26 -04:00
pyproject.toml uhh yeag 2025-10-06 16:11:34 -04:00
README.md start readme, never finish it 2025-10-06 16:20:52 -04:00
requirements.txt initial commit 2025-10-06 05:05:27 -04:00

puppygirl

an easy to train html templating system

usage

cli

usage: puppygirl build [-h] [-p] INPUT OUTPUT

positional arguments:
  INPUT
  OUTPUT

options:
  -h, --help    show this help message and exit
  -p, --pretty
$ puppygirl build --pretty index.html dist/index.html

programmatically

pg = Puppygirl(
  renderer=ServerSideRenderer(),
  elements=[PuppygirlDomme]
)

# parsed using the above config
parsed = pg.fetch("index.html")

using open("dist/index.html", "w") as f:
  f.write(str(parsed))