🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

blog

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blog

A static website generator

1.0.1
Source
PyPI
Maintainers
1

Blog

This is a simple static site generator. It traverses through a source directory of markdown files and creates a destination directory with equivalent HTML files.

Markdown In -> HTML Out

PyPI PyPI

Installation

$ python3.7 -m venv venv
$ source venv/bin/activate
$ pip install blog

Usage

(venv) $ python -m blog build /path/to/source-dir /path/to/build-dir

Simple by design

  • Nothing smart is done around friendly URLs / generating folders with index.html files
    • If you want an index.html file, create an index.md file in your source directory
  • There is no database
  • There is no configuration (for now)

Need something more complex?

  • Consider using Hugo, Gatsby, Django, writing your own server

Keywords

static website generator

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