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.htmlfiles- If you want an
index.htmlfile, create anindex.mdfile in your source directory
- If you want an
- 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)
| File | Size | Uploaded | |
|---|---|---|---|
| blog-1.0.1.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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+
|