Stapy
Stapy is free, open-source software for generating static websites with Python on Linux or Windows.
What Stapy is
Stapy is free, open-source software for generating static websites with Python on Linux or Windows. It requires Python 3.6 or newer and runs without additional packages. Generated files go into environment directories under the web directory, including a production directory for publishing, while a local preview server lets users view work in progress. Page data is stored in JSON files, and settings can merge with layouts at several levels. Templates provide variables, included content, plugin methods, and reusable child blocks. Themes can inherit from parent themes, with individual files able to override inherited files. Python plugins can alter content and page data during rendering, handle HTTP requests, or add template methods. An official plugin adds a web editor at /_editor by default; media uploads are configurable, and the media page is disabled without configuration. Documentation describes publishing through SFTP, Netlify, Cloudflare Pages, Vercel, or GitHub Pages. Shared remote use should protect the editor with htpasswd and safe mode.
Good
- Free and open-source
- Runs on Linux and Windows
- Requires no additional packages
- Supports themes and Python plugins
- Provides a local preview server
Watch out
- Requires Python 3.6 or newer
- Editor media page needs configuration
- Remote editor use requires added protection
Who it suits
Stapy suits Python users building static sites who want templates, themes, plugins, and a local preview server. It also fits deployments using the listed publishing platforms.
Verdict
Stapy offers a modular Python workflow for generating and publishing static files. Its JSON-driven pages, inheritance features, plugins, and optional editor provide several ways to structure a site.
Plans and prices
From Stapy's own pricing page, checked 11 Oct 2001.
| Plan | Price | What it gives you |
|---|---|---|
| Stapy | Free | Free and open-source software |
The facts
Each one read from Stapy's own pages, with the date it was checked.
What it does
- Deployment
- The documentation describes publishing the generated production files through SFTP or platforms such as Netlify, Cloudflare Pages, Vercel, and GitHub Pages.checked 11 Oct 2001
- Editor
- An official plugin provides a web editor for page data and content, accessible from the running local server at /_editor by default.checked 11 Oct 2001
- Editor media
- The editor supports configurable media management, including permitted upload extensions, and the media page is disabled when its configuration is missing.checked 11 Oct 2001
- Local preview server
- Yeschecked 22 Sep 2001
- Page data
- Page data is stored in JSON files, and Stapy can merge page settings with layouts at several levels.checked 11 Oct 2001
- Plugins
- Python plugins can modify content and page data during rendering, handle HTTP requests, or provide custom template methods.checked 11 Oct 2001
- Purpose
- Stapy is a static site generator that works with Python on any operating system without additional packages.checked 11 Oct 2001
- Requirements
- Stapy requires Python 3.6 or newer.checked 11 Oct 2001
- Security
- For shared remote use, Stapy recommends protecting the editor with htpasswd and enabling safe mode to disable reserved routes and hide error messages.checked 11 Oct 2001
- Site building
- Stapy generates static files into environment directories under the web directory, including a production directory for publishing.checked 11 Oct 2001
- Support
- The documentation directs users to file a ticket for questions or bug reports.checked 11 Oct 2001
- Supported languages
- Pythonchecked 22 Sep 2001
- Templates
- Templates support variables, included content, plugin methods, and reusable child blocks.checked 11 Oct 2001
- Themes
- Themes can inherit from a parent theme, and theme files can override parent theme files.checked 11 Oct 2001
Money
- Free plan
- Yeschecked 22 Sep 2001
The company
- Maker
- The maker's site describes Stapy as a modular Python static site generator developed by Magentix.checked 11 Oct 2001
Alternatives to Stapy
- 1

Gatsby
Free planWebAPISelf-hosted8.1From $9 a month - 2
Jekyll
Free planOpen sourceWebLinuxmacOSSelf-hosted8.1Free plan - 3

Cecil
Free planLinuxmacOSWindows7.4Free plan - 4

Eleventy
Free planLinuxmacOSSelf-hostedWindows7.4Free plan - 5

Nikola
Free planLinuxmacOSSelf-hostedWindows7.4Free plan - 6

Publii
Free planLinuxmacOSWindows7.3Free plan
