r/Python • u/AutoModerator • Apr 04 '26
Showcase Showcase Thread
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
43
Upvotes
r/Python • u/AutoModerator • Apr 04 '26
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
1
u/Punk_Saint Apr 14 '26
Hazel : Automatic Photo Album Organizer
GitHub →
What My Project Does
Hazel is a desktop application for photographers that takes a raw folder of unsorted images, an SD card dump, a phone backup, a camera download, and reorganizes them into a clean, dated archive grouped by shoot, without any manual dragging or renaming.
It reads the EXIF metadata embedded in each file to determine when the photo was taken, groups consecutive shots into sessions based on gaps in time, and produces a folder structure like this:
A "session" is a group of shots taken within a configurable time window of each other (default: 45 minutes). A gap longer than that starts a new session, so a morning street walk and an evening portrait shoot on the same day become two separate folders automatically.
Everything is non-destructive by default. A Preview mode shows the exact folder layout Hazel will build before any file is touched. You can also Copy instead of Move, which leaves your originals exactly where they are and builds the archive alongside them. A Revert function undoes the last move operation if you change your mind.
Beyond the core organizer, Hazel includes a small toolkit for day-to-day photo work:
EXIF Viewer: shows camera, lens, shutter, aperture, ISO, focal length, GPS, and white balance for any photo you pick
Duplicate Finder: MD5-hashes every file in a folder and reports groups of identical files with the disk space each group wastes
Storage Stats: a size breakdown of your archive by year and file type, with bar charts
Unpaired RAW/JPG Finder: matches RAW files against JPGs by filename stem and reports anything missing a pair, useful after a cull
The app runs entirely on your machine. No account, no cloud upload, no subscription. Your files go nowhere.
Target Audience
Hazel is aimed at hobbyist and semi-professional photographers who shoot regularly and accumulate large, disorganized import folders over time. It is particularly useful for people who:
Shoot with multiple cameras or devices whose files end up in the same dump folder
Want an archive organized by shoot rather than by calendar month
Shoot both RAW and JPG and want them separated into subfolders automatically
Prefer a tool they can run locally without granting any third-party service access to their photos
It is not a DAM (Digital Asset Manager), not a cataloging tool, and not a replacement for Lightroom's folder structure. It does one thing: take a flat import folder and produce a clean, dated archive. Users who need keywording, ratings, facial recognition, or cloud sync should look elsewhere.
Comparison
Most photographers currently solve this problem in one of four ways:
Hazel differs in that it is narrowly scoped. It has no catalog, no database, and no proprietary format. The output is plain folders and files organized the way you would have done it by hand, only faster. The session-gap algorithm is the core feature that makes it different from simple date-based importers: rather than dumping everything into
2024-06-14/, it splits that day into individual shoots based on the actual gaps between shots.It is free and open-source, runs on Windows, macOS, and Linux, and requires no installation beyond downloading the executable.
GitHub →