Skip to main content

drupan - flexible static site generator

Drupan is a flexible static site generator helping you to create blogs, single page applications or traditional websites. While being opinionated the plugin system allows you to extend it with any functionality you desire.

Quickstart

Install drupan, clone this example site repository and run drupan config.yaml --serve in the cloned directory.

Noteworthy Features

  • deployment your site using git or directly to AWS S3 and AWS CloudFront

  • fast page generation

  • Jinja2 with custom template tags and filters

  • powerful plugin system

Usage

You can install drupan via pip. To generate your site you just run drupan ~path/to/config.yaml.

Supported command line switches

  • nodeploy do not deploy the generated site

  • serve runs a development server on port 9000

  • deploy deploy your output directory without generation

Readers

  • filesystem reads content from files with a YAML header

Writers

  • filesystem writes the generated site to a directory

Deployment

  • s3cf deploy your site to AWS S3 and optionally invalidate changed files on AWS CloudFront using boto

  • gitsub commits the changes to git and pushes to a remote server

  • s3sub uploads your site to AWS S3 using the AWS CLI package

Plugins

  • blank generates empty Entity instances with a given layout. This can be used to generate index or archive pages

  • markdown converts entity content from markdown to HTML

  • tags support for tags which are added to a posts meta information

Metadata

Release files for drupan 3.0.2

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

Source distribution (sdist)

Source distribution for drupan 3.0.2
File Size Uploaded Provenance Actions
drupan-3.0.2.tar.gz 13.4 kB Without provenance Details for drupan-3.0.2.tar.gz

Release files / drupan-3.0.2.tar.gz

Download URL drupan-3.0.2.tar.gz
Size 13.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f747c7599392b12b7532c0bb26b567f2393dc6ae48fff0d2dc1ba4322f1c1eed
BLAKE2b-256 checksum
How to use checksums
e9f85f352018a26658aa0344b40387155426ab025af6db8c115bea978ad97e91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

Security for drupan 3.0.2

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