Skip to main content

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

Release files for blog 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for blog 1.0.1
File Size Uploaded
blog-1.0.1.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for blog 1.0.1
File Interpreter ABI Platform
blog-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 29.2 kB

Release files / blog-1.0.1.tar.gz

Download URL blog-1.0.1.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
412b6812e8960d7db72195a14816c811a7ee36b7f0edb664fe40e6979fcd1e1e
BLAKE2b-256 checksum
How to use checksums
91e2ddd6a41a2dabca627d8df4809abe4b8f377dc2dc94083af4a3a0195e5646
Upload date
Uploaded using Trusted Publishing?
What is 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+

Release files / blog-1.0.1-py3-none-any.whl

Download URL blog-1.0.1-py3-none-any.whl
Size 22.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d9a5728a495451aa0bfddc8b0c1c6cec36be7292762bf17282791d535c2c310
BLAKE2b-256 checksum
How to use checksums
893668b4bcb54e0e58f461cf46683cc2ada3f2fcb2d9601fb45c981ed4e37208
Upload date
Uploaded using Trusted Publishing?
What is 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+

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page