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

Uploaded Source

Built Distribution

blog-0.1.1-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: blog-0.1.1.tar.gz
  • Upload date:
  • Size: 8.6 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.1.tar.gz
Algorithm Hash digest
SHA256 e0872ffafe5f561a347248018a08919fed627e27a498f8a5cb6ee6a046288d26
MD5 9618956254b8c41372c002fb232834b7
BLAKE2b-256 879cb1bfb278082a730da302b08f6675deda605c75a1b657eb30261b626e3d5f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: blog-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 22.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7466affe470d969671d1818d554ef6842f51b3129ebf03fe6356dbf168958aca
MD5 261c67b089dc8f3ab6dfc90592cbf805
BLAKE2b-256 6fd19a561d234a9c08724dc1fdf2c4dcd13c3e7c8bb7348890a19b69f73a870e

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