Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


Pydgeot is a low-frills static content generator. It aims to be as simplistic as possible, primarily providing a core set of functionality made available to plugins.


  • Dependency tracking for content rebuilding.
  • On-the-fly content building for development.



Pydgeot can be installed via pip:

pip install pydgeot

Or via source:

git clone pydgeot
cd pydgeot
python install


Pydgeot not only needs content to generate, but a place to store working files and configuration for the associated content. All this data is stored in an 'app' directory. An app directory contains the source and built content subdirectories, a working and log directory, and a base configuration file. A new app directory can be created with the 'create' command.

pydgeot create [PATH]

This creates the given path, the required subdirectories, and an empty configuration file. The configuration file does not load any plugins, and without modification, Pydgeot won't have anything to build. Read the configuration section to get started modifying the configuration file.

Once configuration is done, and content has been placed in the source content directory, Pydgeot can build content with the 'build' command.

pydgeot build -a [APP_PATH]

APP_PATH should be the location of your app directory generated with the 'create' command. By default APP_PATH is the current working directory.

To have Pydgeot watch the source content directory, and build files as they are added or changed, use the 'watch' command.

pydgeot watch -a [APP_PATH]

Running Pydgeot always requires a command as the first argument. To see a list of available commands, use 'commands'.

pydgeot commands

App Directories

A Pydgeot app directory contains the following directories and files.

  • source/ Source content
  • build/ Content built from the source/ directory
  • store/ Working data store for Pydgeot and plugins
  • store/log/ Log files
  • pydgeot.json Root configuration file


Pydgeot keeps a single JSON configuration file in the app directory, but allows nesting additional configuration files within source directories. Configurations in source directories will be merged with parent configurations, overriding any already set dictionary keys or values. Configuration files can be used by plugins, but Pydgeot itself only watches a few directives.

  • plugins Used only in the app directory configuration file. A list of Pydgeot plugins to load.

      "plugins": ["example", "other.example"]
  • processors A list of file processors to use for the containing directory and any subdirectories. These may be from the built in processors, or from additional loaded plugins.

      "plugins": ["jinja", "lesscss", "copy"]
  • ignore A list of glob patterns. Any file matching one of the patterns will not be processed.

Glob Patterns

Globs support the following special characters (which may be escaped, to ignore the special meaning.)

  • ? Match any single character (excluding path separator)
  • * Match 0 or more characters (excluding path separators)
  • ** Match 0 or more characters
  "ignore": ["*.pyc", "**.png", "**/", "examp??.txt"]
  • *.pyc Will match any .pyc file in the containing directory
  • **.png Will match any .png file in the containing directory, and any subdirectories
  • **/ Will match files in subdirectories, but not the containing directory.
  • examp??.txt Will match example.txt and examp00.txt in the containing directory, but not examp.txt or examples.txt


Pydgeot plugins are Python modules that may add commands and file processors. Pydgeot does come with a few built-in plugins, but more can be loaded by adding them to the configurations plugins list.

Built-In Plugins

A minimal set of processors come built in. They do not need to be included in the configurations plugins list, but must be enabled in the processors list.

  • Copy Fallback, (configuration processor name: copy) Copies any files not handled by other file processors.
  • Symlink Fallback, (configuration processor name: symlink) Creates symlinks for files not handled by other file processors.


Static content generator.




No packages published