Skip to main content

Simple static gallery generator

Project description

Travis-ci: continuous integration status.

Sigal is yet another simple static gallery generator. It’s written in Python and it allows to build a static gallery of images with the following features:

  • Process directories recursively.

  • Generate HTML pages using jinja2 templates.

  • Relative links for a portable output.

  • Support themes, videos, EXIF tags, zip download.

  • MIT licensed.

The idea behind Sigal is to ease the use of the javascript librairies like galleria. These librairies do a great job to display the images, Sigal does what is missing: resize images, create thumbnails, generate html pages.

Sigal is currently compatible only with Python 2.

Links :

  • Latest documentation on the website

  • Source, issues and pull requests on Github

  • Releases on PyPI

Themes & Demo

Sigal comes with two themes, based on the colorbox and galleria Javascript libraries:

Changelog

Version 0.5.1

Released on 2013-09-23.

  • Fix error in calculating the degrees from exif data.

Version 0.5.0

Released on 2013-09-06.

  • Add support for videos. Videos are encoded to webm (see the webm_options setting).

  • Check jinja2’s version for lstrip_blocks (only for Jinja 2.7+).

  • Add option to zip galleries. See the zip_gallery setting.

  • Add support for EXIF tags and GPS coordinates. EXIF tags are added to the media context (for themes). The copy_exif_data setting allow to choose if the exif data from the original image is copied to the resized image.

  • Correct themes design with long directory names.

  • Add the possibility to adjust images after resizing (with the Adjust processor from Pilkit). See the adjust_options setting.

  • Add the possibility to disable image resizing.

Version 0.4.1

Released on 2013-07-19.

  • Fix a bug with unicode paths and filenames.

  • Update colorbox to 1.4.26

  • Add links to the original images.

Version 0.4.0

Released on 2013-06-12.

  • Add a setting to disable the writing of HTML files.

  • Use Pilkit.

  • Remove multiprocessing.

  • Add new settings for the source and destination directories.

  • All meta-data are available in the templates.

  • Galleria theme is now responsive

  • Add a setting to choose the pilkit processor used to resize the images.

Version 0.3.3

Released on 2013-03-20.

  • Catch exception when PIL fails to read the exif metadata.

Version 0.3.2

Released on 2013-03-14.

  • Bugfix for PNG files which don’t have exif metadata.

  • Move unit tests to py.test.

  • Fix images path in colorbox theme.

  • Group package meta in a module.

Version 0.3.1

Released on 2013-03-11.

  • Fix the path of the sample config file (which was not included in the previous release).

Version 0.3

Released on 2013-03-04.

  • Fix packaging issues.

  • New setting index_in_url to optionally add index.html to the URLs.

  • New setting links to specify a list of links.

  • Use EXIF info to fix orientation.

  • Replace the jpg_quality setting with a dict of options.

  • Manage directories with only sub-directories and add some checks.

  • Change the command-line interface to use sub-commands: init, build and serve.

  • Parallel processing.

Version 0.2

Released on 2012-12-20.

  • Improve the bundled themes (update galleria, new colorbox theme).

  • Improve the CLI (new arguments, nicer output).

  • Change the licence to MIT.

  • Change the description file to a markdown syntax file.

  • Change the settings file to a python file, and add more settings.

Version 0.1

Released on 2012-05-13.

First public release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sigal-0.5.1.tar.gz (205.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sigal-0.5.1-py2.py3-none-any.whl (204.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file sigal-0.5.1.tar.gz.

File metadata

  • Download URL: sigal-0.5.1.tar.gz
  • Upload date:
  • Size: 205.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sigal-0.5.1.tar.gz
Algorithm Hash digest
SHA256 77b3d15e136effa623c4415344dda7d6e5a97b76f29d36784f5da25aeff12796
MD5 57b86ff3f055f8fd7aba1b211a8407dc
BLAKE2b-256 03e9b275d664debacb574e340261e3a0f9dcc26cb03a097bb119c6c601fd1475

See more details on using hashes here.

File details

Details for the file sigal-0.5.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for sigal-0.5.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c0efbc59a977373de22af6a6ebe38ca270ae3dc36dcbdedd2aa01e383a4b78d9
MD5 37fcfec07d76cfdaf4bdd943b0c2b95b
BLAKE2b-256 a87e658c838bbfa397c260cbc7a6c69485619e8a408ea110d6315eaec122b917

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page