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 gui opens a three-panel editor at http://127.0.0.1:8767/.
  • 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 gui

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 gui       # start the local web editor
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.1

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.1
File Size Uploaded Provenance Actions
photo_composition_designer-2.0.1.tar.gz 30.6 MB Without provenance Details for photo_composition_designer-2.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 30.7 MB

Release files / photo_composition_designer-2.0.1.tar.gz

Download URL photo_composition_designer-2.0.1.tar.gz
Size 30.6 MB
Tags Source
SHA-256 checksum
How to use checksums
c370a2d352695023bb21998856ff8c33119e5a18353d51bb50b6da2d3c45ba82
BLAKE2b-256 checksum
How to use checksums
d9bd07f85b56467eccb572a5dc74b105ae43d37d1cf2e454a581fcde0384b859
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.1-py3-none-any.whl

Download URL photo_composition_designer-2.0.1-py3-none-any.whl
Size 186.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
af3cac061eae08003d7f228dbf63f3e347dee0f95782effde78a16257e2a3bf2
BLAKE2b-256 checksum
How to use checksums
e56e059a44aa8032f5c392ba88efd644935db1c76634881c6be708ea535ad9c7
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.1

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