Skip to main content

alloypress

A Python static site generator which I use for my personal website.

Made using the Python Packaging User Guide.

Getting Started

Install via pip install alloypress.

Run the following Python code in the root directory of your site:

from alloypress import StaticSite

ssg = StaticSite()
ssg.generate()

An example of this can be seen in ./tests. It will take every .md file in ./raw and generate the HTML in ./.

Features

The high-level approach of alloypress is serve static HTML and CSS files, rendering nothing client-side.

It supports:

  • Jon Gruber's original Markdown syntax via markdown
  • LaTeX via latex2mathml inside $ and $$ delimiters
  • Syntax highlighting for Python via pygments
  • Sidenotes which are displayed inline on narrow devices
  • Sortable and tag-filtered index page for each top-level folder
  • Only re-generates HTML if the Markdown has been modified, and deletes orphaned HTML files

To Be Implemented

  • Support for other languages via pygments
  • Sidebar-based navigation
  • Embedding-based search across all pages
  • Post summaries on the index page via yaml frontmatter
  • More coming soon...

Release files for alloypress 0.1.5

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

Source distribution (sdist)

Source distribution for alloypress 0.1.5
File Size Uploaded
alloypress-0.1.5.tar.gz 4.4 MB Details

Built distribution (wheel)

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

Total release size: 4.4 MB

Release files / alloypress-0.1.5.tar.gz

Download URL alloypress-0.1.5.tar.gz
Size 4.4 MB
Tags Source
SHA-256 checksum
How to use checksums
db2f778a58508cbb84ed6cc71f996e0fed5403ae6852804778a5ae2eb1b2b4ff
BLAKE2b-256 checksum
How to use checksums
054ed8f34bb4c7bfc8f8025a0c4acbb6117c9b00ea5fa0c7ddb7ccd156ae2458
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.4

Release files / alloypress-0.1.5-py3-none-any.whl

Download URL alloypress-0.1.5-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
044b9c9e42d43dfa55d6dabcb1e92d19ab37389b0b47706ed1d311dfcbe75f43
BLAKE2b-256 checksum
How to use checksums
b791202c800f46195dbed1aa41e6677cc81950c31fd1ae4b60ad9ad5cc75fc18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

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