Skip to main content

GalGen

Simple gallery generator.

Features

  • Simple
  • Reliable
  • Customizable

Demo

Sample gallery can be found here.

Installing

pip install galgen

Getting Started

Let's say we have the following file structure:

holidays/
  day1/
    pic1.jpg
    pic2.jpg
    pic3.jpg
    thumnails/
      pic1.jpg
      pic2.jpg
      pic3.jpg
  day2/
    pic1.jpg
    pic2.jpg
    pic3.jpg
    thumnails/
      pic1.jpg
      pic2.jpg
      pic3.jpg

To generate and open your gallery invoke the following:

$ galgen init path/to/holidays
$ galgen build --open path/to/holidays
  • One or more directories with the pictures are required.
  • Define content of your gallery in gengal-config.yml
  • Customize layout in index.html.j2

Rebuild your gallery whenever pictures are added/removed or other changes applied.

$ galgen build --force path/to/holidays

Thumnails

  • Thumnails are optional. Skip them (for simplicity) or generate manually (for performance).
  • Size of the thumnails is of your choice.
  • Filenames of the thumnails must correspond to the filenames of the full-scale pictures.

Metadata

Release files for galgen 0.2.0

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

Source distribution (sdist)

Source distribution for galgen 0.2.0
File Size Uploaded
galgen-0.2.0.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for galgen 0.2.0
File Interpreter ABI Platform
galgen-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.7 kB

Release files / galgen-0.2.0.tar.gz

Download URL galgen-0.2.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
05aa4b5b92a6716c7c0c200581826178ef1e892bc777167fce2b494b882b1e84
BLAKE2b-256 checksum
How to use checksums
75b5d5d5f3c140284e80e95597889b12ac7701979f1001ec59550addbc847455
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.0 CPython/3.10.6 Linux/5.15.0-56-generic

Release files / galgen-0.2.0-py3-none-any.whl

Download URL galgen-0.2.0-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a64b2dec0a176b6a93e10d2d91de3fb08dd4b9b9c7659286a16fe7f41de0498
BLAKE2b-256 checksum
How to use checksums
49d3ee736750618b190a61ffdcbcfae382f62ec69402b26899dd25bf3dbf3cf2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.0 CPython/3.10.6 Linux/5.15.0-56-generic

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

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