Skip to main content

A static website generator

Project description

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blog-0.1.3.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blog-0.1.3-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

Details for the file blog-0.1.3.tar.gz.

File metadata

  • Download URL: blog-0.1.3.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.15+

File hashes

Hashes for blog-0.1.3.tar.gz
Algorithm Hash digest
SHA256 eded1d02a2d179005cb38c8c2137c9f464e24bf4c6fd308249a5f134e5c1a7a3
MD5 e0abfef9834c32da956658587fb42057
BLAKE2b-256 c558be83df743e7becef369c2ceb8d881a989242c2e0b72e1f845f324672b9c2

See more details on using hashes here.

File details

Details for the file blog-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: blog-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 23.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.15+

File hashes

Hashes for blog-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ee1f98e5703b8183842bb77b542f019c562983857e86628a4177179eef55b7a9
MD5 eca65f7cf9b0e38b0bfe628fb2b24172
BLAKE2b-256 d08d3b6128313a05fb9c40b567e475ab97ca2834f583e31f44e439fe8acc36f0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page