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

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

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

Uploaded Source

Built Distribution

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

blog-1.0.0-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: blog-1.0.0.tar.gz
  • Upload date:
  • Size: 6.3 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-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c2468f4c3e383bb87aee10aa9b96a608939b65d91df38f7b897c6d9257a12e31
MD5 383852ad6178308fe38443649b0aa763
BLAKE2b-256 755b3f3c6522fed76545a42f278f3b44ecc3f31bbebd6d9408d25412e4cc12bf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: blog-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 22.9 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-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4b6beae180d6df68a162181c6bfdfed70b03c6f5d580739c5e9dd470ac644e7b
MD5 a7a483a5c31011c627d226fa1febcd64
BLAKE2b-256 19bca3f60aba9e3a423fa5095eeb6d94120f7fe96e83410e498f6320615eacfd

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