Socket
Book a DemoInstallSign in
Socket

pyssgen

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pyssgen

Static site generator built with python

pipPyPI
Version
1.1.0
Maintainers
1

pyssgen

PyPI version

pyssgen is a lightweight alternative to hugo and other static site generators. I used it to build my static blog and included the templates and css that I use along with it.

Please note that it's only a side project and might not be suitable for bigger websites.

Installation

>>> pip install --user pyssgen

Usage

>>> python3 -m pyssgen <input-dir> <output-dir> (optional: <templates-dir>)

customizing

You can make your own templates and css by adding the following files to your custom templates folder:

  • base.html common to all files
  • home.html main page template
  • posts.html other pages templates

and adding a styles.css to static/ directory.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts