Skip to main content

Mobile-first masonry photo gallery generator

Project description

gallerian

Mobile-first masonry photo gallery generator.

gallerian scans a folder of images and produces a single self-contained HTML page using a CSS multi-column masonry layout that adapts from 2 columns on phones up to 6 columns on wide desktops.

Install

pdm install
pdm install -G dev

Usage

pdm run gal build /path/to/photos -o site/index.html -t "My Trip"

Open site/index.html in a browser. The HTML references the original images by their relative path, so keep index.html next to (or above) the photos directory.

Supported formats

.jpg, .jpeg, .png, .webp, .gif

Quality

Run the full quality pipeline (format, lint, type-check, docstring coverage, dead-code, tests) with:

./publish.sh --quality

Release

./publish.sh --patch   # or --minor / --major

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

gallerian-0.1.2.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

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

gallerian-0.1.2-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file gallerian-0.1.2.tar.gz.

File metadata

  • Download URL: gallerian-0.1.2.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.26.7 CPython/3.9.25 Darwin/25.3.0

File hashes

Hashes for gallerian-0.1.2.tar.gz
Algorithm Hash digest
SHA256 3a78abb9fc58fffc54c3ba8f18c60073d122912c40b97b4a553cf55db0b3d9d8
MD5 60a601dbc366f4037c4263e5fc237ba5
BLAKE2b-256 2707eb98b472a6ead54ba908a0ef43ac2a6274b354dd8212b0a5316802efab6a

See more details on using hashes here.

File details

Details for the file gallerian-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: gallerian-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.26.7 CPython/3.9.25 Darwin/25.3.0

File hashes

Hashes for gallerian-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7f1ba89829d6d4bc241e252b81c12dc1f62f409175f9a0e7d4b6169c9a25d71e
MD5 6c48a28b2cb7d7dad1e73e99e8f0d73e
BLAKE2b-256 e4b5d8cc5f03e15be46f2b0b12fb10e302c2e14d1b9db3073390c5a2e082892d

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