Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I am looking for a (command line) tool (preferably in Python) which generates a

ID: 659264 • Letter: I

Question

I am looking for a (command line) tool (preferably in Python) which generates a static picture gallery website from a folder of images.

The generated webpage should show along the photo the caption and description from the EXIF tags of the image. I assume the tool of choice would have output templates which can show caption and description of photos.

Additionally it would be great if the tool had a web theme with so called "responsive design", so that the generated web pages work well on smart phones, too.

First I found Sigal, but it doesn't do captions with the standard themes. Then I came across Nikola galleries and Pelican-gallery plugin, but I don't know whether they show the EXIF captions - and how well they perform.

So advice on these or other tools to achieve what I want is much appreciated!

Explanation / Answer

From the Python wiki here is a list of static site generators, since they are all Python based they should be scriptable and you can extract the Exif data using ImageMagick or the Python ExifRead library:

Blogofile - (Mako, Jinja2)-based generator with supports for (reStructuredText, Markdown, Textile), Git, Disqus, RSS feeds, plugins, and S3, very nice license with human touch.
Clay - Jinja2 for easy site prototyping, MIT.
Complexity - A refreshingly simple static site generator, for those who like to work in HTML.
Crotal - (Jinja2)-A static site generator written in Python, using Jinja2 template engine, BSD
Cyrax - poetic Jinja2 engine, used for osgameclones.
Hyde - Jinja2-based static web site generator, MIT, source
Mynt - Static website generator based on Markdown and Jinja2. BSD-3.
Nikola - Generator supporting reST, Markdown, IPyNB et al.; using Mako and Jinja2 for templates; supports multilingual sites, galleries, RSS feeds, DISQUS et al. for comments. Incremental builds. MIT license.
Obraz - Static blog-aware site generator mostly compatible with Jekyll, MIT
Poole - static website generator, Markdown. GPL.
Pelican - Uses Markdown or ReST for content and Jinja 2 for themes. Supports DVCS, Disqus. AGPL.
PubTal - Templating#SimpleTAL-based static site generator, BSD-3
rest2web - Generates Websites from ReST contents, BSD
Sphinx - Python's official documentation system that turns ReST into HTML, LaTeX, man pages, plaintext, and has many features for making site trees, inter-linking, and other documentation necessities (Jinja2 as default template engine). BSD.
staticninja - MIT, Jinja2, auto-compile. That simple.
tahchee - Cheetah-based static web site generator
Tinkerer - blogging engine/static website generator powered by Sphinx with polite-correct license list.
Urubu - A micro CMS for static websites, with a focus on good navigation practices. AGPL.
wok - MIT licensed, Jinja2, Markdown, reST, etc.