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.2.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

blog-0.1.2-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: blog-0.1.2.tar.gz
  • Upload date:
  • Size: 8.7 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.2.tar.gz
Algorithm Hash digest
SHA256 465c55f82a56c6e2c0f31d43400c7982e5e2441f2c409dabe2d90f4e074eebc9
MD5 97f35f6433b91cdcb73b345765920038
BLAKE2b-256 22c34143642a1b1e70f4616f0591029bffff41741a40c8c697559a53bc5b2846

See more details on using hashes here.

File details

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

File metadata

  • Download URL: blog-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 22.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 66368da963b2a2a2a1db8f1f9f1289c90a4a1db46621373ed3e80a9646034180
MD5 af11730e090f61d2e42a17221af46115
BLAKE2b-256 b6f7780484ddc1ef3681304c7b86e8e91056d4159db12272bfff794c874e6c72

See more details on using hashes here.

Supported by

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