Skip to main content

blag

blag is a blog-aware, static site generator, written in Python.

blag is named after the blag of the webcomic xkcd.

Features

  • Write content in Markdown
  • Good looking default theme: Blag Screenshot
  • Theming support using Jinja2 templates
  • Generation of Atom feeds for blog content
  • Fenced code blocks and syntax highlighting using Pygments
  • Integrated devserver
  • Available on PyPI

blag runs on Linux, Mac and Windows and requires Python >= 3.10

Install

blag is available on PyPI, you can install it via:

$ pip install blag

On Debian or Ubuntu, you can also just install the Debian package:

$ sudo aptitude install blag

Quickstart

$ pip install blag                  # 1. install blag
$ blag quickstart                   # 2. create a new site
$ vim content/hello-world.md        # 3. create some content
$ blag build                        # 4. build the website

Metadata

Release files for blag 2.3.3

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

Source distribution (sdist)

Source distribution for blag 2.3.3
File Size Uploaded Provenance
blag-2.3.3.tar.gz 116.2 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 236.1 kB

Release files / blag-2.3.3.tar.gz

Download URL blag-2.3.3.tar.gz
Size 116.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5a3172e3ab14d622e2356c67afccc277cd4ebd3fb4a946340a800a5dc7441d67
BLAKE2b-256 checksum
How to use checksums
6d0da89759a294b0b33fa0b1579098086afe90c4f3c47911647f4983858c7ff8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / blag-2.3.3-py3-none-any.whl

Download URL blag-2.3.3-py3-none-any.whl
Size 119.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
423e96439fe26854dcb3ba5792f45f9a4b378aa384e2306d9543019a2c0e759d
BLAKE2b-256 checksum
How to use checksums
f3ad984c1a20993e4265205a2052a02a2458af9d149b5373231e03102b1b3a0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Security for blag 2.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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