Simple gallery generator.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
galgen-0.2.0.tar.gz
(3.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file galgen-0.2.0.tar.gz.
File metadata
- Download URL: galgen-0.2.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.10.6 Linux/5.15.0-56-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05aa4b5b92a6716c7c0c200581826178ef1e892bc777167fce2b494b882b1e84
|
|
| MD5 |
648b58a5c8cd2b3b870b3dd9f82343d0
|
|
| BLAKE2b-256 |
75b5d5d5f3c140284e80e95597889b12ac7701979f1001ec59550addbc847455
|
File details
Details for the file galgen-0.2.0-py3-none-any.whl.
File metadata
- Download URL: galgen-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.10.6 Linux/5.15.0-56-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a64b2dec0a176b6a93e10d2d91de3fb08dd4b9b9c7659286a16fe7f41de0498
|
|
| MD5 |
75a10b3e70c27234d659f111c12125db
|
|
| BLAKE2b-256 |
49d3ee736750618b190a61ffdcbcfae382f62ec69402b26899dd25bf3dbf3cf2
|