Skip to main content

chagallpy

(Cha)rming (gall)ery in (Py)thon is a static, minimalistic and mostly JS-free web gallery generator. In a way, it serves as an example project for the WOWP framework (see http://pythonic.eu/wowp).

The gallery does not depend on any external JS library and is navigable using standard (whatever reasonable definition of "standard") keyboard shortcuts.

Usage

Just run this command in the directory with photos:

Usage: chagall [OPTIONS]

Options:
  -i, --input TEXT  (default .)
  -o, --output TEXT  (default ./build)
  -S, --image-size INTEGER
  -T, --thumbnail-size INTEGER
  -v, --verbose

It finds all JPEG images in a current directory, then tries to read metadata about them and produces a gallery in output directory.

Example galleries produced with chagallpy: http://i.vzdusne.cz/

Installation

Easiest way is to use "pip" and download the package from PyPI.

pip install chagallpy

Or, you can visit the GitHub page of the project and work with the development version:

https://github.com/janpipek/chagallpy

Configuration

Gallery metadata

Metadata are store in gallery.yaml. Currently available configuration options:

  • title

Image metadata

Available EXIF data are read.

For each image.jpg, a file image.yaml is read with the following options:

  • title
  • place
  • date (dd/mm/YYYY)
  • author (additional (c) is displayed in the image toolbar)

Metadata

Release files for chagallpy 0.1.5

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

Source distribution (sdist)

Source distribution for chagallpy 0.1.5
File Size Uploaded Provenance Actions
chagallpy-0.1.5.tar.gz 12.3 kB Without provenance Details for chagallpy-0.1.5.tar.gz

Release files / chagallpy-0.1.5.tar.gz

Download URL chagallpy-0.1.5.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a0aee332c4490488f805c631d2cd124ddeb45043add139649cb192cffe20dcc7
BLAKE2b-256 checksum
How to use checksums
df8e2b7fc652dceb9864d27c599b8a3ca4161d1bfdb210faddcd6d94fdfa5b67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

Security for chagallpy 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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