Skip to main content

Welcome to Photo-Composition-Designer

Photo-Composition-Designer is a local-first, browser-based calendar composition editor. You create a project, point it at a directory of source photos, preview a distribution of photos across calendar pages, curate each page by dragging photos into slots, and export the result as a PNG set and PDF.

Github CI Status License

Features

  • Project-based workflow – One central SQLite workspace holds every project, source root, photo inventory, page, layout and assignment.
  • Local web editor – uv run photo-composition-designer opens a three-panel editor at http://127.0.0.1:8767/; gui is the explicit form.
  • Full-page rendering – Pages compose photo slots, the calendar strip, the local map, the description, anniversaries and the title from project data.
  • Per-project output profiles – Calendar, style, geo, size and layout settings are snapshotted per project and editable in the browser, so workspace defaults never change an existing project.
  • Source-relative photo references – Originals are never moved, renamed or modified; a source root can be safely relinked if it moves.
  • GPS and local map – EXIF GPS first, locations.ini filename fallback second, and a cached local map with a default point when no coordinates exist.
  • Versioned YAML layouts – Curated slot layouts ship in the box; users can add their own *.yaml files without writing code.
  • Distribution proposals – Equal, seeded-random and date-aware strategies preview per-page samples, counts, empty slots and overflow without mutating state; applying is atomic.
  • Accessible editing – Assign, replace, swap and remove have keyboard controls as well as drag-and-drop, with visible focus, labelled slots and a skip link.
  • Ordered export – Render pages from project data and export PNG pages plus a PDF that follows the project page order.

Quick start

uv run photo-composition-designer

Then open http://127.0.0.1:8767/, create a project, add a source directory, scan it, preview a distribution, and curate pages in the editor. See the web UI guide for the complete workflow.

Command-line

photo-composition-designer           # start the local web editor (default)
photo-composition-designer gui       # explicit start command
photo-composition-designer scan      # reconcile a project's photo inventory
photo-composition-designer distribute  # preview or apply a distribution
photo-composition-designer render    # render a project's pages to PNG + PDF
photo-composition-designer export    # export a project as PDF
photo-composition-designer duplicate # copy a project within the workspace
photo-composition-designer doctor    # check workspace and project health

Storage

The central workspace and caches live under the platform data directory:

~/.local/share/photo-composition-designer/
  workspace.sqlite3
  thumbnails/
  previews/
  cache/
  exports/

Environment overrides (PCD_DATA_DIR, PCD_CACHE_DIR) keep tests and portable installs isolated.

Known limitations

  • Reference-only export – Pages reference the source photos. Moving a source directory requires relinking, and no self-contained project archive is written.
  • No undo history – Every edit is committed atomically and is immediately persisted, but there is no multi-step undo/redo. Re-edit the affected slot or page manually. See the architecture notes for the rationale.
  • Single-process desktop use – The editor targets one local user on a laptop or desktop. Narrow screens stack panels instead of using drawers.
  • No cloud services – Maps are rendered locally; there are no accounts, synchronization or online map tiles.

Development

make lint          # ruff lint and format checks
make test          # lint plus the full pytest suite with coverage

Critical editor flows are also covered by a small Playwright suite:

uv run playwright install chromium firefox
uv run pytest tests/test_browser_workflow.py -m browser

The browser tests skip automatically when Playwright or the browser binaries are missing.

Metadata

Release files for photo-composition-designer 2.0.2

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

Source distribution (sdist)

Source distribution for photo-composition-designer 2.0.2
File Size Uploaded Provenance Actions
photo_composition_designer-2.0.2.tar.gz 30.6 MB Without provenance Details for photo_composition_designer-2.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for photo-composition-designer 2.0.2
File Interpreter ABI Platform Actions
photo_composition_designer-2.0.2-py3-none-any.whl Python 3 none any Details for photo_composition_designer-2.0.2-py3-none-any.whl

Total release size: 30.8 MB

Release files / photo_composition_designer-2.0.2.tar.gz

Download URL photo_composition_designer-2.0.2.tar.gz
Size 30.6 MB
Tags Source
SHA-256 checksum
How to use checksums
274c67c6437a82bec4e687e9086cb18bdbab9868200d6d0b9deedf4a6ac46e7a
BLAKE2b-256 checksum
How to use checksums
3695ec6a0ab2be21083873337bebddc660f5caba96abf8002af77bea4f80de9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Release files / photo_composition_designer-2.0.2-py3-none-any.whl

Download URL photo_composition_designer-2.0.2-py3-none-any.whl
Size 213.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
301a8eb918fc968a1ea3e0f1d3273de888d51b92133edbb4685f0c25c541a462
BLAKE2b-256 checksum
How to use checksums
2017a92e25d0eafc46a66073b55f32a28bd2fe9e69d3f8ecc6968962c39770ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Security for photo-composition-designer 2.0.2

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